note 5067 deleted from function.each by didou
| From: | didou@php.net | Date: | Mon, 18 Aug 2003 16:02:32 +0000 |
| Subject: | note 5067 deleted from function.each by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54598@lists.php.net to get a copy of this message | ||
Note Submitter: mark@nospam@art-nude.com
----
If you're using the each() function, and having trouble getting the results you want, be sure
to check out the mysql_fetch_array result types...
Do you want:
this: $profile = mysql_fetch_array( $query_result , MYSQL_ASSOC);
this: $profile = mysql_fetch_array( $query_result , MYSQL_NUM);
or this: $profile = mysql_fetch_array( $query_result , MYSQL_BOTH);