Jump to content

[SOLVED] Basic Menu Form and Submit Issue


suttercain

Recommended Posts

Hello and hope eveyone is having a good Saturday night.

 

My issue, I have constructed a drop down menu, but when I hit submit, it reloads the HTML page and doesn't go to the php page with the switch statement.

 

Can someone assist?

 

HTML PAGE:

<center><b>---SELECT YOUR HEIGHT---</b></center><br />
<form ="lab_1d.php" method="post">
<select name="select">
  <option value="5ft0">5 Foot 0</option>
  <option value="5ft2">5 Foot 2</option>
  <option value="5ft4">5 Foot 4</option>
  <option value="5ft6">5 Foot 6</option>
  <option value="5ft8">5 Foot 8</option>
  <option value="5ft10">5 Foot 10</option>
</select>
<input type="submit" name="height" value="Submit" />
</form>

Link to comment
https://forums.phpfreaks.com/topic/42191-solved-basic-menu-form-and-submit-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.