I am trying to write an easy sendmail.php page. I have finished most of it, and it works however there is one problem.
This is the problem. If there is no value assigned to the form field, then everything works fine and the script outputs whatever is inbetween the <option> tag. However, since I will be using this form to tabulate things, I need to also assign a value to the form field. As soon as I assign a value to the form field though, the output doesnt show what is in between the option, but rather the actual value.
Is there some way to assign a value to the form field, but have it output what is in between the <option> tags? Here is my script in action.
[url]http://www.jdatatrackmaker.com/stargrills/products/test/mail.html
I want the price to be outputted as “2-$115” but instead it comes out as 115 because of the value assigned. The type outputs fine because there is no value.
please help! thanks for your time!
-jake