jimdidr Posted August 26, 2008 Share Posted August 26, 2008 this is probably pretty simple for you guys but, I want to put my option values into the MySql database insted of keeping them in the "whatever.php" if lets say the values are One Two Three What would the MySql database look like? CREATE TABLE `towns` ( ?? ?? and what would the fetch code be? <select id="town" name="town" size="1"> {What do i put in here insted of "<option value="one">first</option>" and so on... } </select> Quote Link to comment Share on other sites More sharing options...
fenway Posted August 26, 2008 Share Posted August 26, 2008 You're taking about dynamic drop-down values? Many such tutorials are available. Quote Link to comment Share on other sites More sharing options...
jimdidr Posted August 26, 2008 Author Share Posted August 26, 2008 Thank you now that i know what its called maby i will find a tutorial... I'm pretty green but I just cant learn without doing, its my learning dissability, (if i just read the info it leaves my head as fast as you can say "chee...") Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted August 27, 2008 Share Posted August 27, 2008 Thank you now that i know what its called maby i will find a tutorial... I'm pretty green but I just cant learn without doing, its my learning dissability, (if i just read the info it leaves my head as fast as you can say "chee...") Welcome to the real world. 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.