invisionx Posted March 31, 2007 Share Posted March 31, 2007 I'm new to the forum but i got a little tricky question i want a drop down menu that will select which database is needed for that page.. see i have a site im making for a clan that plays like 10 different games and i wanna have 1 index but the dropdown menu will be at the beginning and when a player goes to the site they can choose which game they play so they can check the news and stuff.. the drop down menu should choose which database is needed? can this be done or will i have to make 10 different index.php pages? thank you invisionx Link to comment https://forums.phpfreaks.com/topic/45077-drop-down-menu-help/ Share on other sites More sharing options...
AndyB Posted March 31, 2007 Share Posted March 31, 2007 Can it be done? Yes. Would it be worth knowing which db is required for each page? Quite probably. How? Store the selected database name in a session variable. Link to comment https://forums.phpfreaks.com/topic/45077-drop-down-menu-help/#findComment-218864 Share on other sites More sharing options...
invisionx Posted April 1, 2007 Author Share Posted April 1, 2007 Thank you. that helped me out alot Link to comment https://forums.phpfreaks.com/topic/45077-drop-down-menu-help/#findComment-218877 Share on other sites More sharing options...
Trium918 Posted April 1, 2007 Share Posted April 1, 2007 What is it that you are looking for? Link to comment https://forums.phpfreaks.com/topic/45077-drop-down-menu-help/#findComment-218880 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.