- Improved db_fetch_array() to return an associative array only:

passing around arrays should be less expensive.
3-00
Dries Buytaert 2001-06-06 18:57:41 +00:00
parent c9e807a347
commit 4ba91a779a
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function db_fetch_row($qid) {
}
function db_fetch_array($qid) {
if ($qid) return mysql_fetch_array($qid);
if ($qid) return mysql_fetch_array($qid, MYSQL_ASSOC);
}
function db_result($qid, $field = 0) {