Appending GET data with form submition

Posted on 16th Feb 2014 by admin

Okay, what I'm trying to do is to use a form to append an already existing GET data string.

It goes something like this:

REQUEST_URI="/page.php?var1=foo&var2=bar"

Now, what I want to do is just add a new variable to the end there without replacing the whole thing. I try using the URI as the form action, but it just replaces the string entirely, returning "/page.php?var3=wtf" rather than "/page.php?&var1=foo&var2=bar&var3=wtf"

Any ideas how to make this work?

Other forums