Re: states
| From: | Ray Hunter | Date: | Wed, 02 Jul 2003 14:19:33 +0000 |
| Subject: | Re: states | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153715@lists.php.net to get a copy of this message | ||
On Tue, 2003-07-01 at 16:55, Matt Palermo wrote:
> Does anyone know of any built in functions or options for the US states?
Nope no built in function for this...
> I want to make a drop down menu and some other things which have the 50
> states in it. Is there any shortcut for this with PHP, or do I need to
> do it all manually in HTML? Please let me know. Thanks.
You can create your own function to build this for you.
I have always put the 50 states in a database and used that for all my
html and output requirements. You can google state abbreviations and use
that in a database or file.
--
BigDog