mysql_num_rowsmysql_num_rows(result_id)This function returns the number of rows in a MySQL result set (result_id).This method is not compatible with result sets created by mysql_unbuffered_query.