alexguz79 Posted July 2, 2010 Share Posted July 2, 2010 Hey... Hope you can help me on this one: I have a menu witch information is stored in a database, i can get the info to load the problem is insted of giving me a dropdown menu with 10 options, is giving me 10 dropdown menus with 1 option here's the code <label> <select name="players" id="players"> <option value="<?php $id; ?>"><?php echo $fname; ?> <?php echo $lname; ?></option> </select> </label> Quote Link to comment https://forums.phpfreaks.com/topic/206569-menu-list-populated-by-mysql-problem/ Share on other sites More sharing options...
alexguz79 Posted July 2, 2010 Author Share Posted July 2, 2010 anyone please Quote Link to comment https://forums.phpfreaks.com/topic/206569-menu-list-populated-by-mysql-problem/#findComment-1080476 Share on other sites More sharing options...
Psycho Posted July 2, 2010 Share Posted July 2, 2010 1. Do not bump a post after just 15 minutes. The reason most posts don't get a quick (or good) respons is due to the lack of providing th correct information. 2. That code above tells us nothing about what the problem is. That code above would produce a single select list with jsut one optino. So, you obviously have not provided the relevant information for anyone to respond thoughtfully. Where is the code for the query and extracting the data? Quote Link to comment https://forums.phpfreaks.com/topic/206569-menu-list-populated-by-mysql-problem/#findComment-1080479 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.