PHP & MySQL Search Results
| From: | Jason Caldwell | Date: | Sat, 14 Apr 2001 06:44:02 +0000 |
| Subject: | PHP & MySQL Search Results | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48516@lists.php.net to get a copy of this message | ||
Does anyone know (or have) of a good example of how to create search results
like a Yahoo or MSN search?
for example:
Say I do a search for "cars" and there are 10,000 records in my table that
match "car"... I would like to show the results in blocks of (say) 25 at a
time, therefore I will need a "Next Results", "Previous Results", "Total
Records found that match my query", and perhaps, between the "Previous
Results" and "Next Results" a set of numbers like so;
<Previous [1] [2] [3] [...] Next>
The numbers being "jump to" links, etc.
Thanks.
Jason