I have website that is build in PHP PDO, I want to add a pagination function to the search function that I already have.
Im looking for a very simple pagination with "Previous, Next" buttons. Thats all. Like I said I already have the search script, but I just want to add pagination to it.
Next I want to add a new function called "Advanced search" to my site, where users will be given the option to search the records on my database based on the values they enter on the multiple input fields. The result on this "advanced search" should be displayed through pagination. For this "advanced search" I already have a pagination function that I use elsewhere on my site. So I need help in creating an "advanced search" and then use my current pagination function with this search function.
So basically, this is a small job since I already have almost everything. I just need help with putting the functions together.
And once again this is PHP PDO, so I need someone that knows PHP PDO