View Single Post

  #1 (permalink)  
Old 01-14-2008
krzys
 
Posts: n/a
Default What is more efficient - using mysql_num_rows or COUNT(key) -php+mysql

As in the subject - what is more efficient way to get number of
affected rows - using mysql_num_rows or just ind the query SELECT
COUNT(key) FROM tabale WHERE='conditions'? Which one is quicker?

Best regards,
Krzysiek
Reply With Quote