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

PHP page loading in Firefox but not in IE
hello,

i am currently doing a project in PHP and i have a problem. If I view the project in M

SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built

CHMOD script
Hi,

I need a script to read all files in a folder and set to 777.

Can anyone help out

Socket Server
In my following socket server, I am trying to listen to a connection through port 12345 in my web br

A little help needed passing hidden values to next page
I have a page that has hidden values in a form.

example
Code: <input name='signupID

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

PHP Login
Hey!
I got this shopcart code online, am trying to modify it but am getting an error when i try a

Forgot password won't work
My forgot password thing is not working properly. It is giving me this errorMailbox unavailable. The

problem when runing a funciton
I am trying to connect to database using a funciton in a functions.php

<?php
funct

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