session variable, sending session variable to another page |
session variable, sending session variable to another page |
Sage |
Oct 17 2006, 11:31 AM
Post
#1
|
Group: Members Posts: 1 Joined: 17-October 06 Member No.: 471 |
I have a simple page ad with one textfield and a button I made.
I would like input a promotional code to the textfield and execute my own made button and bring up the contact form and the send promocode variable and form infomation to be save on a database both forms are in html and then processed by php to the db initial form: http:\\www.eatandwin.info/index.html second form: http://www.eatandwin.info/phpform/use/fall2006/form1.html www.eatandwin.info/phpform/use/fall2006/process.php processes a thank you form www.eatandwin.info/phpform/user/fall2006/global.inc.php dont know what that does Please help sage |
Darin McGrew |
Oct 17 2006, 12:01 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I would like input a promotional code to the textfield and execute my own made button Please see the FAQ entry How can I make a form with custom buttons?and bring up the contact form and the send promocode variable and form infomation to be save on a database You'll need a server-side (e.g., PHP) program to process the promo-code form data and send the contact form data. You can put the promo-code in a hidden field of the contact form. Another option is to use cookies, but not all browsers will accept them.initial form: http:\\www.eatandwin.info/index.html That should be http://www.eatandwin.info/index.html (or just http://www.eatandwin.info/ )FWIW, when I clicked the "SUBMIT" button, I got a 404 Not Found. But now things are behaving differently. I don't want to keep looking while you're changing things. |
Lo-Fi Version | Time is now: 26th April 2024 - 02:30 PM |