Hi RedBishop, how you doing?
Not too bad thanks, and yourself? Thank you for looking at this!
So, if I understand this correctly, the user submits the form and displays the first page of the results. What you want is for that first page to include the page variable in the querystring, like results.php?page=1, is that right? And the form itself submits via GET or POST?
Yes, that is my intention. The website works perfectly well without having the query string in the URL on the first page, but I might as well include it if possible. I am using POST to submit the form. I could validate the form and use header location to create the query string to use in the action=" ", but that will be difficult to achieve with my code. So I'd rather find another way to append the query string or just have no query string on the first page
thank you. Do you think it would work with what I'm trying to do below?
A pagination link for the second page might be:
So for the first page I most probably need an URL such as this:
I'm thinking the JS needs to get all of the content after the first "&" ?
Thank you. Hope you are well.