Appending GET data with form submition


Posted on 16th Feb 2014 07:03 pm 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:

Did you know?Explore Trending and Topic pages for more stories 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?
No comments posted yet

Your Answer:

Login to answer
188 Like 14 Dislike
Previous forums Next forums
Other forums

PHP template help
Ok, I don't know if anyone can help me but I am using PHP templates to make a site. I am a newbie an

Pass sql into pl/sql and create RMAN duplicate script.
Hi,

I'm new to pl/sql and I'm trying to write a script that will generate some RMAN comma

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

why this query can delete duplicates ?
why this query can delete duplicates ? Anybody can give me the detailed explanation ?

Tha

Simpler method of getting variables from mysql
Hi Guys,

I'm trying to streamline my CMS's code and as I was writing a new page it occured to

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

Help with parsing this html
Hi,
I've got some html i just need a couple of strings from.. argh, it's freaking me out. I've t

need help with php get
i have a option box that gets filled with dates, but how do i get once the option value has been cli

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash