Help - Search - Members - Calendar
Full Version: session variable
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Sage
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
QUOTE(Sage @ Oct 17 2006, 09:31 AM) *
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?

QUOTE(Sage @ Oct 17 2006, 09:31 AM) *
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.

QUOTE(Sage @ Oct 17 2006, 09:31 AM) *
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.