note 55867 deleted from function.mysql-fetch-array by victor
| From: | victor@php.net | Date: | Tue, 16 Aug 2005 08:05:42 +0000 |
| Subject: | note 55867 deleted from function.mysql-fetch-array by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93710@lists.php.net to get a copy of this message | ||
Note Submitter: michael at neuromatter dot net
----
Be very careful when using mysql_fetch_array without a second parameter because by default you get
both an associative and numeric array. This means if you have code that is based on count($row) the
count will actually be double the number of columns.