note 79841 deleted from function.pdostatement-fetchall by felipe

From: Date: Sat, 15 Dec 2007 15:08:39 +0000
Subject: note 79841 deleted from function.pdostatement-fetchall by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133543@lists.php.net to get a copy of this message
Note Submitter: donovan at donovanwalker dot com Reason: 5 ---- fetchAll does NOT return all rows. It returns only the 'remaining' rows. if execute() is run, and there are n rows in the result set, and fetch() is called m times, a subsequent call to fetchAll() only returns rows (m+1)-n if fetch all is called more than one time, every time after the first it will return an empty array. end of line....

« previous php.notes (#133543) next »