I want a drop down form with a submit button in php -
i've edited code. right now?
<form action="" method="post"> <select name="event"> <option value="" disabled="disabled" selected="selected">please select make</option> <option value="1">honda</option> <option value="2">volkswagen</option> </select> <select name="event2"> <option value="" disabled="disabled" selected="selected">please select model</option> <option value="1">civic</option> <option value="2">passat</option> </select> <input type="submit" value="submit"> </form>
try this:
<form action="" method="post" name ="testfrm" id="testfrm"> <select name="event"> <option value="" disabled="disabled" selected="selected">please select make</option> <option value="1">honda</option> <option value="2">volkswagen</option> </select> <select name="event2"> <option value="" disabled="disabled" selected="selected">please select model</option> <option value="1">civic</option> <option value="2">passat</option> </select> <input type="submit" name="btnsbmt" id="btnsbmt" /> </form>
-- thanks
Comments
Post a Comment