|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56692 undefuned method fetchSingle
Submitted: 2005-12-03 18:18 UTC Modified: 2005-12-03 19:03 UTC
From: madmax at napisy dot org Assigned:
Status: Not a bug Package: PDO (PECL)
PHP Version: 5_1 CVS-2005-12-03 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: madmax at napisy dot org
New email:
PHP Version: OS:


 [2005-12-03 18:18 UTC] madmax at napisy dot org
PDO version: 1.0.2
PDO_MYSQL version: 1.0.1
PHP Version: 5.1 (windows binaries, no cvs).

undefuned method fetchSingle BUG

Reproduce code:
$DB_Layer = new PDO("mysql:host=$db_server;dbname=$db_name", 
      $db_username, $db_password, 
      array(PDO::ATTR_PERSISTENT => $db_pconnect));

$results = $DB_Layer->query("SELECT * FROM session");

Actual result:
Fatal error: Call to undefined method PDOStatement::fetchSingle() 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-03 19:03 UTC]
That's correct; there is no fetchSingle method.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 28 16:01:29 2020 UTC