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:

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

ORA-01017: invalid username/password; logon denied
Dear All,

I am facing problem in taken backup from db13 it comes up with the following l

function to return url
Hi,

Can you guys help me giving a function that takes all the contents in a particular field

Displaying image pathname instead of image
Hello

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

php file erros / need help please
Hello

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i trye

Change of partner analyse in sales orders
Hello,

I changed the partner analyse for sales orders and added a new mandatory partnerro

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

Auto install
Hi I have a directory lets say "apps" that I then have more folders ie "email",

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

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