etrader Posted March 21, 2011 Share Posted March 21, 2011 I want to have a multi level dropdown selection tool come out of an array (not database; almost all of available codes on the internet are based on mysql databse). I have an array as each element has this format: "Country | City | ID". Using explode, I want to make a dropdown to choose the country, then choosing the cities of the chosen country. Finally, in a simple search box make action="result.php" to lead to result.php?q=$id Thanks for your kind attention Link to comment https://forums.phpfreaks.com/topic/231230-multi-level-drop-down-from-an-array/ Share on other sites More sharing options...
yonny Posted March 21, 2011 Share Posted March 21, 2011 I made a menu with an array of directories and files. the code is in my post here http://www.phpfreaks.com/forums/index.php?topic=327381.0, I cleaned it and fixed all the issues I had since then. It puts out a menu like the one in the attachment. Good luck. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/231230-multi-level-drop-down-from-an-array/#findComment-1190175 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.