PHP PDO - Num Rows
Posted
by Ian
on Stack Overflow
See other posts from Stack Overflow
or by Ian
Published on 2010-04-23T17:27:46Z
Indexed on
2010/04/23
17:33 UTC
Read the original article
Hit count: 301
PDO apparently has no means to count the number of rows returned from a select query (mysqli
has the num_rows
variable).
Is there a way to do this, short of using count($results->fetchAll())
?
© Stack Overflow or respective owner