Show specified number of search results per page
Posted: Fri Jun 24, 2005 9:56 am
Hi,
I have a search page which is stuctured as follows:
search.php - has the shell (header, leftnav, middlecontent, rightnav, footer) of the page. Within middleContent, I include:
searchA.php;
searchB.php;
searchC.php, each of which query the DB and return search results for a different category.
I haven't really tackled the issue properly yet, but I was wondering if anyone could suggest a good way of showing, say, 6 results from searchA.php on a page, then 6 more on the next etc, followed by 6 from searchB.php and so on.
Thanks for any help, and if you need further clarification, I can post some code.
M.
I have a search page which is stuctured as follows:
search.php - has the shell (header, leftnav, middlecontent, rightnav, footer) of the page. Within middleContent, I include:
searchA.php;
searchB.php;
searchC.php, each of which query the DB and return search results for a different category.
I haven't really tackled the issue properly yet, but I was wondering if anyone could suggest a good way of showing, say, 6 results from searchA.php on a page, then 6 more on the next etc, followed by 6 from searchB.php and so on.
Thanks for any help, and if you need further clarification, I can post some code.
M.