Click here to Skip to main content
15,029,010 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,


How can i show all cities in a list box, and if user select more than on city i have to save those in database can any one help me,


i am using php and mysql
Posted
Updated 4-Apr-12 21:58pm
v2

You basically loop through all the selected items in the listbox. Here's some links to get you started.

http://onlinetools.org/tricks/using_multiple_select.php[^]
http://www.phpfreaks.com/forums/index.php?topic=314019.0[^]
   
Comments
Uday P.Singh 20-Apr-12 4:00am
   
5!
walterhevedeich 20-Apr-12 4:04am
   
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900