php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "mysqli_num_rows()"

What are the potential pitfalls of using the MySQL function mysql_num_rows() in PHP?

The potential pitfall of using the MySQL function mysql_num_rows() in PHP is that it is deprecated as of PHP 5.5.0 and removed in PHP 7.0.0. It is rec...

How can the code be modified to accurately determine if a query has returned any results?

To accurately determine if a query has returned any results, we can check the number of rows returned by the query. If the number of rows is greater t...

What function can be used to count the number of rows returned by a query in PHP?

To count the number of rows returned by a query in PHP, you can use the `mysqli_num_rows()` function. This function returns the number of rows in a re...

What are the potential risks of using the mysql_num_rows() function in PHP?

The potential risk of using the `mysql_num_rows()` function in PHP is that it is deprecated as of PHP 5.5.0 and removed in PHP 7.0.0. It is recommende...

What potential error could occur when using the mysql_num_rows function in PHP?

The potential error that could occur when using the mysql_num_rows function in PHP is that it is deprecated as of PHP 5.5.0 and removed in PHP 7.0.0....

Showing 46 to 50 of 154 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 30 31 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.