note 120097 added to mysqli-stmt.get-result
| From: | Haravikk | Date: | Fri, 28 Oct 2016 13:43:15 +0000 |
| Subject: | note 120097 added to mysqli-stmt.get-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206974@lists.php.net to get a copy of this message | ||
For those interested, this function seems to always produce a stored result, making it equivalent to
mysqli::store_result(), rather than fetching on demand as in the case of mysqli::use_result().
This is important as it means that you cannot control the nature of the result as you would normally
by calling mysqli_stmt::store_result() prior to fetching, as I had personally expected.
So, if you want to emulate the behaviour of mysqli::use_result() you will still need to use
mysqli_stmt::bind_param() and mysqli_stmt::fetch().
----
Server IP: 72.52.91.14
Probable Submitter: 82.14.234.204
----
Manual Page -- http://php.net/manual/en/mysqli-stmt.get-result.php
Edit -- https://master.php.net/note/edit/120097
Del: integrated -- https://master.php.net/note/delete/120097/integrated
Del: useless -- https://master.php.net/note/delete/120097/useless
Del: bad code -- https://master.php.net/note/delete/120097/bad+code
Del: spam -- https://master.php.net/note/delete/120097/spam
Del: non-english -- https://master.php.net/note/delete/120097/non-english
Del: in docs -- https://master.php.net/note/delete/120097/in+docs
Del: other reasons-- https://master.php.net/note/delete/120097
Reject -- https://master.php.net/note/reject/120097
Search -- https://master.php.net/manage/user-notes.php