june_c21 Posted December 18, 2007 Share Posted December 18, 2007 hi, i want to make a drop down menu for user to filter data. when user click on it will redirect to generate the filter data from mysql. how to write the code? thanks. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted December 18, 2007 Share Posted December 18, 2007 Your going to have to give a lot more of a description than that. Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted December 18, 2007 Share Posted December 18, 2007 See here Dynamic DropDown PHP/AJAX by MadTechie http://www.phpfreaks.com/forums/index.php/topic,155984.0.html Quote Link to comment Share on other sites More sharing options...
june_c21 Posted December 18, 2007 Author Share Posted December 18, 2007 <form id="form1" name="form1" method="post" action=""> Drop Down <select name="select"> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> </select> </form> when user click on A, it will go to A database. how to write the php code? Quote Link to comment Share on other sites More sharing options...
june_c21 Posted December 18, 2007 Author Share Posted December 18, 2007 n~ link=topic=172538.msg765042#msg765042 date=1197950832] See here Dynamic DropDown PHP/AJAX by MadTechie http://www.phpfreaks.com/forums/index.php/topic,155984.0.html i don't really understand. i am kind of new and still learning on this. may be you can explain more to me. Quote Link to comment Share on other sites More sharing options...
tibberous Posted December 18, 2007 Share Posted December 18, 2007 Suckerfish makes an AWESOME drop down menu: http://www.htmldog.com/articles/suckerfish/dropdowns/ I have been working with these for the last couple days and still couldn't quite tell you how they work, but they are GREAT. Most drop down menus take a ton of code and suck, these take almost no code - there all CSS powered and they work great after some screwing around. Quote Link to comment Share on other sites More sharing options...
june_c21 Posted December 18, 2007 Author Share Posted December 18, 2007 ok, i been thinking the same way too but how to link it with mysql? 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.