|
-
Mar 8th, 2006, 12:06 AM
#1
[RESOLVED] Counting the number of Rows... efficiently
Currently I am using an MySQL query to gather all the IDs pertaining to a specific category and then I use mysql_num_row() to count the number of rows to get the total.
Is there a more efficient way to do this? I know there is a COUNT() for MySQL but I didn't know how to return that and actually use it in PHP.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|