note 71989 deleted from function.mysql-unbuffered-query by danbrown
| From: | danbrown@php.net | Date: | Wed, 03 Aug 2011 19:17:53 +0000 |
| Subject: | note 71989 deleted from function.mysql-unbuffered-query by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182191@lists.php.net to get a copy of this message | ||
Note Submitter: Typer85 at gmail dot com
----
In response to "silvanojr at gmail dot com".
Your misunderstanding the point of this function. You MUST retrieve all rows in the result set
BEFORE you issue another query.
Yes you can do a SQL_CALC_ROWS but that would mean you would have to query MySQL, thus either firing
an error or deleting the previous query's result set as the new unbuffered result set would
point to the result of the call to SQL_CALC_ROWS.
Keep that in mind folks,