note 72262 added to function.pdo-query
| From: | janusz at fide dot pl | Date: | Wed, 10 Jan 2007 01:23:40 +0000 |
| Subject: | note 72262 added to function.pdo-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-121515@lists.php.net to get a copy of this message | ||
You can call this function as
PDOStatement PDO::query ( string statement, int fetch_mode )
where fetch_mode is one of PDO::FETCH_... constants to have results for example as associative array
with column names as keys (using PDO::FETCH_ASSOC) instead of default PDO::FETCH_BOTH that fetches
array with column names and numerical indexes as keys.
----
Server IP: 66.163.161.117
Probable Submitter: 83.18.207.222 (proxied: 192.168.0.20)
----
Manual Page -- http://www.php.net/manual/en/function.pdo-query.php
Edit -- https://master.php.net/note/edit/72262
Del: integrated -- https://master.php.net/note/delete/72262/integrated
Del: useless -- https://master.php.net/note/delete/72262/useless
Del: bad code -- https://master.php.net/note/delete/72262/bad+code
Del: spam -- https://master.php.net/note/delete/72262/spam
Del: non-english -- https://master.php.net/note/delete/72262/non-english
Del: in docs -- https://master.php.net/note/delete/72262/in+docs
Del: other reasons-- https://master.php.net/note/delete/72262
Reject -- https://master.php.net/note/reject/72262
Search -- https://master.php.net/manage/user-notes.php