show number of search results
| From: | sgibbs at vt dot globalhealth dot org | Date: | Sun, 26 Aug 2001 13:53:36 +0000 |
| Subject: | show number of search results | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64504@lists.php.net to get a copy of this message | ||
Good day,
I'm trying to figure out how I can show the following on my search results
page:
SEARCH RESULTS 1 - 10 of 14 total results for books
Currently, I have a limit of 10 results printing on a page using "offset".
I figured out how to program the pages to know what page of the results its
viewing (eg: you are on page 4 or 10 pages of results) so programming the
above statement shouldn't be difficult because the two statements seem quite
similar. Nevertheless, I can't figure it out - I have a feeling I'm making
it harder than it really is. Any suggestions or leads would be greatly
appreciated!
Thank you, Shawna