PDA

View Full Version : Very Long Request for Quote Form using PHP



jasonmilburn
December 22nd, 2006, 08:54 AM
Hello all. I'm more of a designer than a coder, so I'm looking for a little help on this rather long RFQ form I am doing. Here are the links:

http://www.jasonmilburn.com/lvfinal/quote.html
http://www.jasonmilburn.com/lvfinal/mailer.php
http://www.jasonmilburn.com/lvfinal/thankyou.html

I've gotten started on it using the tutorial on this site. I've entered everything except the radio buttons in the PHP form thus far. For each of the text fields in the php form I currently have as $name_field, then their id. But then i noticed in the bottom of the php file where i put everything into the body, that this isnt going to work. So, for example this line:

$name_field = $_POST['text_stock'];

should it instead be:

$text_stock_field =_POST['text_stock'];

and so on for each different one?

Also, how do I point the form to the thank you page after it is done. Any help on this would be greatly appreciated!

Jason

jasonmilburn
December 22nd, 2006, 02:08 PM
UPDATE!!
I've updated those pages with what I thought would work, however it is not working properly. Can you help me spot the error in my code?

Thanks!

Gundark
December 22nd, 2006, 02:54 PM
Nobody can see your php code as it is run server-side and I only see the result. You'd have to upload your php code to the forums or something for anybody to look at it.