At 11:54 AM 1/6/03 -0600, Steven Kallstrom wrote:
Alabama
Alaska
Arizona
.
$stateselected['$state'] is an array that stores the state that was
selected on the prior form. is there an easier way, to have a default
state picked out of this drop do
What I would do, and this is one of those "write it once, use it a 1000
times" things, is store all your states in an array.
'Alabama',
'AK' => 'Alaska',
'AZ' => 'Arizona'
);
?>
Then, you can loop through that array to build your form element:
';
foreach($sta
2 matches
Mail list logo