note 58537 deleted from function.pdostatement-rowcount by dbs

From: Date: Thu, 15 Dec 2005 20:27:42 +0000
Subject: note 58537 deleted from function.pdostatement-rowcount by dbs
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100228@lists.php.net to get a copy of this message
Note Submitter: ---- It is recommended that the pre-SELECT COUNT(*) method not be used, and it shouldn't be considered a viable solution. Given the time between executing the COUNT(*) statement, and the actual SELECT statement, you are very likely to get different results. This should not be considered a workaround in what is a design flaw in PDO and I'm surprised to see the PHP documentation team make such a recommendation.

« previous php.notes (#100228) next »