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