I need someone to correct the pagination code of my php script.
I want to split results from a search form across multiple pages. As the code stands at the moment the search function is fine. However, no matter how many results are returned it always displays 2 pages and when the '2' page is clicked on it returns an error.
I'm guessing this will be a pretty simple fix as there is not much code to correct. The original code was from a member on this site but he no longer replies to my emails.