adolph0034
08-30-2009, 04:57 PM
Okay simple question
What would the PHP CODE FOR THE FOLLOWING HTML:
<select name="choice">
<option selected="selected" label="Eventtype" value="Eventtype">
Select Event Type
</option>
<option label="Birthday Party" value="Birthday Party">Birthday Party
</option>
<option label="Block Party" value="Block Party">Block Party
</option>
<option label="Barmitfa" value="Barmitfa">Barmitfa
</option>
<option label="Corporate Event" value="Corporate Event">Corporate Event
</option>
<option label="Day Care Centers" value="Day Care Centers">Day Care Centers
</option>
<option label="Graduation Party" value="Graduation Party">Graduation Party
</option>
<option label="Private Event" value="Private Event">Private Event
</option>
<option label="Wedding Event" value="Wedding Event">Wedding Event
</option>
<option label="Other" value="Other">Other
</option>
</select>
<br >
<br />
<select name="choicetwo">
<option selected="selected" label="Number of Children" value="Number of Children">
Number of Children
</option>
<option label="12 and Under" value="12 AND Under">12 and Under
</option>
<option label="13 - 25" value="13-25">13 - 25
</option>
<option label="25 - 50" value="25 - 50">25 - 50
</option>
<option label="50 Plus" value="50 Plus">50 Plus
</option>
</select>
</fieldset>
RIGHT NOW MY PHP CODE (NOT WORKING HOWEVER)
$choice = $_POST['choice']
$choicetwo = $_POST['choicetwo'];
i guess my php form is wrong, i would appreciate any help.
thank you in advance for your time.
What would the PHP CODE FOR THE FOLLOWING HTML:
<select name="choice">
<option selected="selected" label="Eventtype" value="Eventtype">
Select Event Type
</option>
<option label="Birthday Party" value="Birthday Party">Birthday Party
</option>
<option label="Block Party" value="Block Party">Block Party
</option>
<option label="Barmitfa" value="Barmitfa">Barmitfa
</option>
<option label="Corporate Event" value="Corporate Event">Corporate Event
</option>
<option label="Day Care Centers" value="Day Care Centers">Day Care Centers
</option>
<option label="Graduation Party" value="Graduation Party">Graduation Party
</option>
<option label="Private Event" value="Private Event">Private Event
</option>
<option label="Wedding Event" value="Wedding Event">Wedding Event
</option>
<option label="Other" value="Other">Other
</option>
</select>
<br >
<br />
<select name="choicetwo">
<option selected="selected" label="Number of Children" value="Number of Children">
Number of Children
</option>
<option label="12 and Under" value="12 AND Under">12 and Under
</option>
<option label="13 - 25" value="13-25">13 - 25
</option>
<option label="25 - 50" value="25 - 50">25 - 50
</option>
<option label="50 Plus" value="50 Plus">50 Plus
</option>
</select>
</fieldset>
RIGHT NOW MY PHP CODE (NOT WORKING HOWEVER)
$choice = $_POST['choice']
$choicetwo = $_POST['choicetwo'];
i guess my php form is wrong, i would appreciate any help.
thank you in advance for your time.