note 115648 deleted from pdostatement.fetchcolumn by sobak
| From: | sobak@php.net | Date: | Tue, 09 Jun 2015 07:10:01 +0000 |
| Subject: | note 115648 deleted from pdostatement.fetchcolumn by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202778@lists.php.net to get a copy of this message | ||
Note Submitter: php at luka5 dot de
----
> 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.