note 88395 added to function.mysql-fetch-array
| From: | kidandme at yahoo dot com | Date: | Thu, 22 Jan 2009 07:33:01 +0000 |
| Subject: | note 88395 added to function.mysql-fetch-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149646@lists.php.net to get a copy of this message | ||
Clean and simple 2 liner way to load result set to an array.
while ($myarray[] = mysql_fetch_array($result)){}
array_pop($myarray);
----
Server IP: 64.71.164.2
Probable Submitter: 69.225.95.74
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-array.php
Edit -- https://master.php.net/note/edit/88395
Del: integrated -- https://master.php.net/note/delete/88395/integrated
Del: useless -- https://master.php.net/note/delete/88395/useless
Del: bad code -- https://master.php.net/note/delete/88395/bad+code
Del: spam -- https://master.php.net/note/delete/88395/spam
Del: non-english -- https://master.php.net/note/delete/88395/non-english
Del: in docs -- https://master.php.net/note/delete/88395/in+docs
Del: other reasons-- https://master.php.net/note/delete/88395
Reject -- https://master.php.net/note/reject/88395
Search -- https://master.php.net/manage/user-notes.php