Computer Science, asked by robinkumar1314, 1 year ago

How can we find the number of rows in a result set using PHP?

Answers

Answered by Saimrock78
0

We can get the number of rows or records present in a table by using mysql_num_rows() function. This function is to be used along with mysql select query. We can add condition by using mysql where clause to the select query and get the conditional rows. This function is widely used in different php scripts and you can see the use of this function in PHP paging tutorial in our php tutorial section.

Similar questions