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

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -