You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 regels
378 B

<?php
/**
* Helper yang berkaitan dengan operasi DB
*/
/**
* Ambil semua data hasil dari ODBC exec
*
* @param $exec
*
* @return Array
*/
function dbGet($exec) {
$result = [];
while ($row = odbc_fetch_array($exec)) {
// Push row to result
array_push($result, $row);
// callback
// $callback($row);
}
return $result;
}