note 31554 added to function.msql-fetch-array
| From: | mnm at cc dot gatech dot edu | Date: | Fri, 25 Apr 2003 18:35:34 +0000 |
| Subject: | note 31554 added to function.msql-fetch-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47094@lists.php.net to get a copy of this message | ||
$row = mysql_fetch_array($result,MYSQL_ASSOC);
extract($row);
The extract function does the same thing as the while loop listed above. There are now variables
that have names of the field names.
--
http://www.php.net/manual/en/function.msql-fetch-array.php
http://master.php.net/manage/user-notes.php?action=edit+31554
http://master.php.net/manage/user-notes.php?action=delete+31554
http://master.php.net/manage/user-notes.php?action=reject+31554