note 108796 added to pdostatement.fetchall
| From: | ramon at monztro dot com | Date: | Fri, 25 May 2012 04:18:58 +0000 |
| Subject: | note 108796 added to pdostatement.fetchall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188217@lists.php.net to get a copy of this message | ||
If you are trying to call PDOStatement::fetchAll and is not getting the result set as expected
(empty instead), check if you called PDOStatement::execute first.
Remember PDOStatement::fetchAll does not execute the query, it just mounts the array.
:)
----
Server IP: 187.73.33.36
Probable Submitter: 187.3.160.3
----
Manual Page -- http://www.php.net/manual/en/pdostatement.fetchall.php
Edit -- https://master.php.net/note/edit/108796
Del: integrated -- https://master.php.net/note/delete/108796/integrated
Del: useless -- https://master.php.net/note/delete/108796/useless
Del: bad code -- https://master.php.net/note/delete/108796/bad+code
Del: spam -- https://master.php.net/note/delete/108796/spam
Del: non-english -- https://master.php.net/note/delete/108796/non-english
Del: in docs -- https://master.php.net/note/delete/108796/in+docs
Del: other reasons-- https://master.php.net/note/delete/108796
Reject -- https://master.php.net/note/reject/108796
Search -- https://master.php.net/manage/user-notes.php