Snippets tagged “mysqli-num-rows”
2 snippets use this tag.
- Best way to check if mysql_query returned any results?PHP
To check if a MySQL query returned any results, you can use the mysqli_num_rows function.
- How can I count the numbers of rows that a MySQL query returned?PHP
You can use the mysqli_num_rows() function to count the number of rows that a MySQL query returned in PHP.