note 70794 added to function.pdo-query
| From: | yannikh at gmeil dot com | Date: | Sat, 28 Oct 2006 09:47:42 +0000 |
| Subject: | note 70794 added to function.pdo-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119201@lists.php.net to get a copy of this message | ||
@E. Rnie:
The example DOES work fine.
query returns in iterable object. print_r just does not show that!
Ich you use fetchAll() you will receive an Array with all rows. Of course this works too, but it is
not a good idea on big resultsets.
----
Server IP: 217.160.72.57
Probable Submitter: 87.78.158.163
----
Manual Page -- http://www.php.net/manual/en/function.pdo-query.php
Edit -- https://master.php.net/note/edit/70794
Del: integrated -- https://master.php.net/note/delete/70794/integrated
Del: useless -- https://master.php.net/note/delete/70794/useless
Del: bad code -- https://master.php.net/note/delete/70794/bad+code
Del: spam -- https://master.php.net/note/delete/70794/spam
Del: non-english -- https://master.php.net/note/delete/70794/non-english
Del: in docs -- https://master.php.net/note/delete/70794/in+docs
Del: other reasons-- https://master.php.net/note/delete/70794
Reject -- https://master.php.net/note/reject/70794
Search -- https://master.php.net/manage/user-notes.php