note 11208 added to mysql_fetch_object
| From: | platypus at cyberjunkie dot com | Date: | Fri, 09 Feb 2001 21:53:53 +0000 |
| Subject: | note 11208 added to mysql_fetch_object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10866@lists.php.net to get a copy of this message | ||
fetch_result is really nasty because it only returns one field at a time, and it's inefficient
too. but all the other fetch routines seem to only pull in the NEXT row of the result set, and
fetch_result is the only one which will pull in anything from the $nth row of a result set.
I'd really like a routine which would just get me the whole random row out of all the ones that
matched my query. Help?
http://www.php.net/manual/en/function.mysql-fetch-object.php