note 71989 added to function.mysql-unbuffered-query

From: Date: Thu, 28 Dec 2006 00:33:06 +0000
Subject: note 71989 added to function.mysql-unbuffered-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-120969@lists.php.net to get a copy of this message
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, ---- Server IP: 66.163.161.117 Probable Submitter: 84.36.231.206 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-unbuffered-query.php Edit -- https://master.php.net/note/edit/71989 Del: integrated -- https://master.php.net/note/delete/71989/integrated Del: useless -- https://master.php.net/note/delete/71989/useless Del: bad code -- https://master.php.net/note/delete/71989/bad+code Del: spam -- https://master.php.net/note/delete/71989/spam Del: non-english -- https://master.php.net/note/delete/71989/non-english Del: in docs -- https://master.php.net/note/delete/71989/in+docs Del: other reasons-- https://master.php.net/note/delete/71989 Reject -- https://master.php.net/note/reject/71989 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120969) next »