note 107228 added to pdostatement.rowcount

From: Date: Wed, 18 Jan 2012 01:25:05 +0000
Subject: note 107228 added to pdostatement.rowcount
Groups: php.notes php.notes 
Request: Send a blank email to php-notes+get-185693@lists.php.net to get a copy of this message
I'm new to PHP and more so PDO. All I'm trying to do is get number of results from a select statement and after reading all these comments, I'm I correct in saying that PDO is not capable of this? Something like: count($arrayName) or mysql_num_rows($result); really? ---- Server IP: 69.147.83.197 Probable Submitter: 210.9.92.254 ---- Manual Page -- http://www.php.net/manual/en/pdostatement.rowcount.php Edit -- https://master.php.net/note/edit/107228 Del: integrated -- https://master.php.net/note/delete/107228/integrated Del: useless -- https://master.php.net/note/delete/107228/useless Del: bad code -- https://master.php.net/note/delete/107228/bad+code Del: spam -- https://master.php.net/note/delete/107228/spam Del: non-english -- https://master.php.net/note/delete/107228/non-english Del: in docs -- https://master.php.net/note/delete/107228/in+docs Del: other reasons-- https://master.php.net/note/delete/107228 Reject -- https://master.php.net/note/reject/107228 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185693) next »