Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in PHP Scripts   Wednesday, November 19 2014

A US State Dropdown from PHP Array

A US state dropdown from a PHP array. We have also included an SQL state to insert into your database.

A PHP array for US states is a better cleaner option than adding all the option values into your HTML form. This is a working example of a dropdown for the US States from a PHP array. We also included the SQL statement if you would like to add it

Continue reading