I'm sorry to bump this old topic, but I have question.
If you need both the data and the row count, wouldn't the first example be best? And the second example would be best if you only needed the row count, right?
Search found 1 match
- Mon Mar 05, 2007 1:53 am
- Forum: Databases
- Topic: MySQL count vs mysql_num_rows()
- Replies: 5
- Views: 1397