note 113426 added to mysqli-stmt.store-result

From: Date: Wed, 09 Oct 2013 10:10:09 +0000
Subject: note 113426 added to mysqli-stmt.store-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-196508@lists.php.net to get a copy of this message
Actually, mysqli_stmt_result_metadata() returns FALSE, not NULL, when the query/statement doesn't produce a result set. You would have to check the if the $mysqliObject->error is an empty string to see whether the FALSE return means that the query does not produce a result set or that an error occured. ---- Server IP: 69.147.83.199 Probable Submitter: 5.56.157.83 ---- Manual Page -- http://php.net/manual/en/mysqli-stmt.store-result.php Edit -- https://master.php.net/note/edit/113426 Del: integrated -- https://master.php.net/note/delete/113426/integrated Del: useless -- https://master.php.net/note/delete/113426/useless Del: bad code -- https://master.php.net/note/delete/113426/bad+code Del: spam -- https://master.php.net/note/delete/113426/spam Del: non-english -- https://master.php.net/note/delete/113426/non-english Del: in docs -- https://master.php.net/note/delete/113426/in+docs Del: other reasons-- https://master.php.net/note/delete/113426 Reject -- https://master.php.net/note/reject/113426 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196508) next »