note 115648 added to pdostatement.fetchcolumn
| From: | php at luka5 dot de | Date: | Mon, 01 Sep 2014 05:11:30 +0000 |
| Subject: | note 115648 added to pdostatement.fetchcolumn | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200353@lists.php.net to get a copy of this message | ||
> There is no way to return another column from the same row if you use
> PDOStatement::fetchColumn() to retrieve data.
The example above does not work, because we call fetchColumn twice.
----
Server IP: 72.52.91.14
Probable Submitter: 93.208.120.134
----
Manual Page -- http://php.net/manual/en/pdostatement.fetchcolumn.php
Edit -- https://master.php.net/note/edit/115648
Del: integrated -- https://master.php.net/note/delete/115648/integrated
Del: useless -- https://master.php.net/note/delete/115648/useless
Del: bad code -- https://master.php.net/note/delete/115648/bad+code
Del: spam -- https://master.php.net/note/delete/115648/spam
Del: non-english -- https://master.php.net/note/delete/115648/non-english
Del: in docs -- https://master.php.net/note/delete/115648/in+docs
Del: other reasons-- https://master.php.net/note/delete/115648
Reject -- https://master.php.net/note/reject/115648
Search -- https://master.php.net/manage/user-notes.php