On Sat, 2008-07-05 at 21:27 -0700, Warren Vail wrote:
> foreach ($state_list as $key => $value) {
> echo "<option value=\"$key\"";
> if($key == $choice) echo " selected"; // now it's
> sticky
> ;-)
> echo "> $value</option>\n";
> } Just another quick ?.. where is $choice coming from? or is that the name of the select in <SELECT NAME='namehere'> -- Michael S. Dunsavage -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

