note 90030 added to function.mysql-fetch-assoc
| From: | DanielChcouri-333222+A-T+gmail at osu1 dot php dot net | Date: | Thu, 02 Apr 2009 11:45:17 +0000 |
| Subject: | note 90030 added to function.mysql-fetch-assoc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152746@lists.php.net to get a copy of this message | ||
Fetching all the results to array with one liner:
<?php
$result = mysql_query(...);
while(($resultArray[] = mysql_fetch_assoc($result)) || array_pop($resultArray));
----
Server IP: 212.199.163.191
Probable Submitter: 62.90.10.129
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-assoc.php
Edit -- https://master.php.net/note/edit/90030
Del: integrated -- https://master.php.net/note/delete/90030/integrated
Del: useless -- https://master.php.net/note/delete/90030/useless
Del: bad code -- https://master.php.net/note/delete/90030/bad+code
Del: spam -- https://master.php.net/note/delete/90030/spam
Del: non-english -- https://master.php.net/note/delete/90030/non-english
Del: in docs -- https://master.php.net/note/delete/90030/in+docs
Del: other reasons-- https://master.php.net/note/delete/90030
Reject -- https://master.php.net/note/reject/90030
Search -- https://master.php.net/manage/user-notes.php