Doc #69775 [Opn->Csd]: fetchColumn() example is misleading
| From: | sobak@php.net | Date: | Tue, 09 Jun 2015 07:08:24 +0000 |
| Subject: | Doc #69775 [Opn->Csd]: fetchColumn() example is misleading | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12396@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69775&edit=1
ID: 69775
Updated by: sobak@php.net
Reported by: cmb@php.net
Summary: fetchColumn() example is misleading
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: PDO Core
Operating System: n/a
PHP Version: Irrelevant
-Assigned To:
+Assigned To: sobak
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-06-09 07:07:36] sobak@php.net
Automatic comment from SVN on behalf of sobak
Revision: http://svn.php.net/viewvc/?view=revision&revision=336896
Log: Close bug #69775 (fetchColumn() example is misleading)
Patch by cmb
------------------------------------------------------------------------
[2015-06-08 19:34:03] cmb@php.net
Description:
------------
---
From manual page: http://www.php.net/pdostatement.fetchcolumn
---
As can be seen from the user contributes notes, example#1 on the
PDOStatement::fetchColumn man page is apparently misleading. It
might be best to change it (see attached patch
fetchcolumn-example).
Then the following notes can be deleted:
* <http://php.net/manual/en/pdostatement.fetchcolumn.php#115694>
* <http://php.net/manual/en/pdostatement.fetchcolumn.php#117420>
* <http://php.net/manual/en/pdostatement.fetchcolumn.php#116646>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69775&edit=1