I have a table in MYSQL database...
With Country & it's corresponding States.
Say i select US from the dropdown option it should automatically show all the states in US from a database file.
I have seen some code examples on the net which do give a solution to the above problem but you have to manually enter all the countries & their states in the code itself.(using javascript)
I want to do this by accessing database.
(1)If i select US , my code should access database & get all the states for US.
(2)If i select India, my code should access database & get all the states for India.
and so on.
With Country & it's corresponding States.
Say i select US from the dropdown option it should automatically show all the states in US from a database file.
I have seen some code examples on the net which do give a solution to the above problem but you have to manually enter all the countries & their states in the code itself.(using javascript)
I want to do this by accessing database.
(1)If i select US , my code should access database & get all the states for US.
(2)If i select India, my code should access database & get all the states for India.
and so on.
Comment