Creating a SELECT list of states with php
This is nothing big, but it might save someone 20 minutes worth of work. Basically, if you want to create a drop down list of US states using php you can include this code. Download the source here: states.zip (1.2K)
Here are a couple of examples of what this code does:
That’s all it does.
If this post is interesting to you, subscribe to this site.
Posted: December 16th, 2005 under scripting.
Comments: 1
Comments
Comment from Đỗ Nam Khánh
Time: September 9, 2008, 4:54 am
Thanks for your sharing :) I’m looking for states data of all countries. Can you help me?
Write a comment