The most useful function I should have written years ago.
May 7th, 2007I’ve never written a function and been so happy about it.
Since so many of the sites we develop are interactive, there are generally a lot of url query strings (?x=1&y=2) being used. Even though I avoid them whenever possible and use pretty urls in place, sometimes, you just need them.
The one thing I always disliked about them is writing them in the php, and making sure I have all of the current settings saved as well…which led to a lot of checking and such… Inefficient to say the least.
So, I came up with this, and have used it in about 4 projects now, and both me and the other developer I work with agree that its very useful, and we both wonder why neither of us created something similar in the past.