Vergleich inc/db_pgsql.php - 1.6.13 - 1.6.17
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; |