by

US States for Select element in PHP

Need a list like this?

array(
     'AL'=>"Alabama",
     'AK'=>"Alaska",
     'AZ'=>"Arizona",
     ..

Eddie has you covered. Check his US State related PHP snippets. I was able drop that array into Laravel’s Form::select function and have a state selector ready to render.

  • Related Content by Tag