|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 + 28 = ?
Subscribe to this entry?

 [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: Tue Feb 25 13:01:25 2020 UTC