note 77861 added to function.mysqli-fetch-row

From: Date: Sun, 16 Sep 2007 21:24:20 +0000
Subject: note 77861 added to function.mysqli-fetch-row
Groups: php.notes 
Request: Send a blank email to php-notes+get-130542@lists.php.net to get a copy of this message
Remember that fetch() and fetch_row() are two different things, and differ in the way to use them. - fetch() is used on a statement (like an executed prepared statement) and needs to be used in association with bind_result(). - fetch_row() is used on a result (like the result of query()). As a consequence, if you want to use to use fetch_row() with an executed prepared statement, first you'll have to get the result out of this statement with mysqli_store_result() or mysqli_use_result(). ---- Server IP: 217.174.196.197 Probable Submitter: 82.234.244.32 ---- Manual Page -- http://www.php.net/manual/en/function.mysqli-fetch-row.php Edit -- https://master.php.net/note/edit/77861 Del: integrated -- https://master.php.net/note/delete/77861/integrated Del: useless -- https://master.php.net/note/delete/77861/useless Del: bad code -- https://master.php.net/note/delete/77861/bad+code Del: spam -- https://master.php.net/note/delete/77861/spam Del: non-english -- https://master.php.net/note/delete/77861/non-english Del: in docs -- https://master.php.net/note/delete/77861/in+docs Del: other reasons-- https://master.php.net/note/delete/77861 Reject -- https://master.php.net/note/reject/77861 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130542) next »