Any one have the ultimate PHP function(s) to add/remove parameters from a query string?
It needs to handle all possible cases, Ive seen ones that handle some cases, but not
I don't know about the ultimate solution. But PHP has several very helpful native functions that making your own defined function about should be easy.
Check out: html_build_query(), parse_str(), and parse_url()