Jump to content

What does mysqli_num_rows returns


hno

Recommended Posts

You could answer this question yourself a lot more quickly simply by reading the manual.

 

If you execute a select query - assuming that it didn't return an error - then mysqli_num_rows() tells you how many rows were returned by that query. If no data rows were retruned by the query, then (logically) mysqli_num_rows() will return 0.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.