Rauvnos Posted September 8, 2008 Share Posted September 8, 2008 Greetings, Before I ask, I just want to note that I'm *not* asking about a dropdown that populates values for another dropdown like a Country/State thing. I'm looking to have a dropdown that selects it's values from a database (I can do that easy enough), and then when a value is selected, shows other fields from the database based on the value selected. So, using a geographic example: If I had a dropdown named "City" which grabbed cities from a database, when the user selected "Sacramento" from that dropdown, they'd see below it a number of statistics like population, state, data established, etc. Just read-only text that gives them some info about their selection. I'm not sure if this is something that I'd need AJAX for, and I haven't delved too far into that yet. But if that's the best way, then I'll go pursue that. Thanks Link to comment https://forums.phpfreaks.com/topic/123316-dropdown-assistance/ Share on other sites More sharing options...
revraz Posted September 8, 2008 Share Posted September 8, 2008 Ajax or Javascript, PHP can't do it alone. Link to comment https://forums.phpfreaks.com/topic/123316-dropdown-assistance/#findComment-636873 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.