adilmarwat Posted March 4, 2010 Report Share Posted March 4, 2010 I have table in mysql table name 'act' contains three fields id, province, cityI have to create the two menu, 1st that contains Province data, When user click on the province item 2nd menu show the cities of the select province.How it is possible, please help. Adil Link to comment Share on other sites More sharing options...
student101 Posted March 4, 2010 Report Share Posted March 4, 2010 http://www.plus2net.com/php_tutorial/php_drop_down_list.php Link to comment Share on other sites More sharing options...
ShadowMage Posted March 4, 2010 Report Share Posted March 4, 2010 You'll need to construct the first <select> tag with PHP and leave the other two blank or disabled. After that I think you're going to have to use JavaScript and AJAX to populate your other <select>'s Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now