Jump to content

[SOLVED] get number of results from sql query


SyncViews

Recommended Posts

How do I find how many results an sql generated?

 

I took a look here http://www.w3schools.com/php/php_ref_mysql.asp but couldn't find a function to return this :(

 

I could use a while loop to go through the results increasing a counter but that seems a realy ineiffient way to do it...

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.