Vergleich inc/db_pgsql.php - 1.6.14 - 1.6.18
Zeile 413 | Zeile 413 |
---|---|
* @param constant The type of array to return. |
* @param constant The type of array to return. |
function fetch_array($query) | function fetch_array($query, $resulttype=PGSQL_ASSOC) |
{ |
{ |
$array = pg_fetch_assoc($query); | switch($resulttype) |
return $array; | return $array; |