php - How to get number of rows without SELECTING all rows? -
How do I get the number of rows such as mysql_num_rows
but without working for a mysql Resources because I do not know the future level of my webpage and it may take an hour to get the number of rows;)
Thanks!
SELECT COUNT (*) as tblName from num_rows;
- and retrieve num_rows
columns from that statement
Comments
Post a Comment