I'm feeling a little dense at the moment, but I can't see a better solution.
I know how to set up pagination for a page where the query is always the same, but now I need to use a page where the query variable. I found several examples but they all showed the query itself being passed in the query string. Doesn't that create a huge security risk? Won't htmlspecialchars() break the query if I use it on the whole thing?
I was going to set it up so I could pass JUST the parameters of the query, and purge them. Is this the best way? Am I missing something?
Thanks