Tell us how can we find the number of rows in a result set using PHP?

Submitted by: Muhammad
☛ $result = mysql_query($sql, $db_link);
☛ $num_rows = mysql_num_rows($result);
☛ echo "$num_rows rows found";
Submitted by: Muhammad

Read Online Internee PHP Developer Job Interview Questions And Answers