|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-03 19:03 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 02:00:01 2025 UTC |
Description: ------------ 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"); $results->fetchSingle(); Actual result: -------------- Fatal error: Call to undefined method PDOStatement::fetchSingle()