note 8874 deleted from foreach by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 14:28:21 +0000 |
| Subject: | note 8874 deleted from foreach by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6009@lists.php.net to get a copy of this message | ||
The problem with foreach returning 2 values from an associative array returned by
mysql_fetch_array() can be solved by using mysql_fetch_row() which returns an array indexed only by
integers or mysql_fetch_assoc() which returns an array indexed only by strings.