Smee Posted June 1, 2010 Share Posted June 1, 2010 Hi, I was wondering if anyone could help me. I am working on a registration script and have it working correctly but all i have is text input fields and would like to have a drop down menu for 'team supported'. <p class="team_supported"><label> Team Supported: i.e Manchester United. </label> <input type="text" name="team_supported" maxlength="40" value="<?php if (isset($_POST['team_supported'])) echo $_POST['team_supported']; ?>" /> This is the code i am using at the moment. Thanks for any help. Link to comment https://forums.phpfreaks.com/topic/203526-drop-down-menu/ Share on other sites More sharing options...
riwan Posted June 1, 2010 Share Posted June 1, 2010 <select name="team_supported" size=1> <option>Manchester United <option>etc </select> Link to comment https://forums.phpfreaks.com/topic/203526-drop-down-menu/#findComment-1066188 Share on other sites More sharing options...
Smee Posted June 1, 2010 Author Share Posted June 1, 2010 Wow as easy as that... Thanks Link to comment https://forums.phpfreaks.com/topic/203526-drop-down-menu/#findComment-1066190 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.