suttercain Posted March 11, 2007 Share Posted March 11, 2007 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> Quote Link to comment Share on other sites More sharing options...
interpim Posted March 11, 2007 Share Posted March 11, 2007 change <form ="lab_1d.php" method="post"> to this <form action="lab_1d.php" method="post"> Quote Link to comment Share on other sites More sharing options...
suttercain Posted March 11, 2007 Author Share Posted March 11, 2007 Doh... thanks. It's always the simple things that mess me up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.