Jump to content

result counter


lucan

Recommended Posts

Need some help on my result counter. I am using a search box to return data from my database i can get the result returned fine but i am having problems getting the total number of result returned. It only returns the number of results per page as i am using a paginate.

Can some one point me in the right direction.

 

The number count im using is below.


$num_rows = mysql_num_rows($sql);

  echo "$num_rows Results Found\n";

Link to comment
https://forums.phpfreaks.com/topic/247606-result-counter/
Share on other sites

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.