How Can We Find The Number Of Rows In A Result Set Using PHP

How Can We Find The Number Of Rows In A Result Set Using PHP


  • 13 Mar, 2012

    Here is how can you find the number of rows in a result set in PHP:$result = mysql_query($any_valid_sql, $database_link);$num_rows = mysql_num_rows($result);echo "$num_rows rows found";

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.