Trouble with $_POST using <select>
Posted: Thu Jul 09, 2009 2:14 pm
I am trying to send information gathered from my survey form via email.
I am hung up on taking info from my <select> input, can not find an answer for some reason.
here is the msg variable am I doing this correctly?
I am hung up on taking info from my <select> input, can not find an answer for some reason.
Code: Select all
<p><strong>Home Style</strong><br>
<select name="styleofhome">
<option value="Single Story Concrete Slab">Single Story Concrete Slab</option>
<option value="Single Story W/Basement/Crawl Space">Single Story W/Basement/Crawl Space</option>
<option value="Two Story Concrete Slab">Two Story Concrete Slab</option>
<option value="Two Story W/Basement/Crawl Space">Two Story W/Basement/Crawl Space</option>
</select></p>here is the msg variable am I doing this correctly?
Code: Select all
$msg .= "Home Style: $_POST[name= "styleofhome" value= ""]\n";