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

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

Encrypt php code?
Is it possible to encrypt php code in files,
so that it displays a load of unreadable characters

PHP Redirecting
Hello everyone. Is there a way to redirect people to pages within a statement in PHP? Since there is

how to insert value
I am having file bookissueadd.php..... in which i am having tag

<td height="21&q

How do i use vars in an array
Hiya peeps!

How do I use a var in an array. You will see $id but it isnt working.


$_FILES array
Ok,

I just started experimenting with PHP today. My goal right now is to have people be able

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g

adding up might be solved tell us cheers.
i think i finally solved this anybody.

last time i was getting the wrong results.

Code

Linux socket programming
Where can I find a good introduction to socket programming?

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