Vergleich inc/db_mysql.php - 1.6.12 - 1.6.17
Zeile 416 | Zeile 416 |
---|---|
* @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=MYSQL_ASSOC) |
{ |
{ |
$array = mysql_fetch_assoc($query); | switch($resulttype) |
return $array; | return $array; |