|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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: Thu Oct 29 02:01:24 2020 UTC