saravanataee Posted February 7, 2013 Share Posted February 7, 2013 Hi all, I have attached a php script that contains the state and cities in each state in a array. I want to store them into mysql in such a way i bring them into my ajax based multi drop down. Please help me on storing this as i need have them into mysql. By doing manual storage it takes lot of time. I knew it is possible to send this array to mysql. but not sure how to do that. please need help in this.! Thanks! statecity.php Link to comment https://forums.phpfreaks.com/topic/274141-storing-the-attached-array-into-mysql/ Share on other sites More sharing options...
Barand Posted February 7, 2013 Share Posted February 7, 2013 Create 2 tables STATE --------- state_id state_name CITY -------- city_id city_name state_id Link to comment https://forums.phpfreaks.com/topic/274141-storing-the-attached-array-into-mysql/#findComment-1410709 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.