i took ur code and modify it to mine and it works...
thanks.
if ($_POST['submit'] == 'submit') {
// It will keep the values of entries if you left one out.
$cust_address = $_POST['cust_address'];
$gen_city = $_POST['gen_city'];
$generalacct_state_country = $_POST['generalacct_state_country'];
$generalacct_state_country = "<option selected value=$generalacct_state_country>$generalacct_state_country</option>";
<FORM ACTION="$php_self" METHOD="POST">
<b>General Account Information</b><br>
<p class="bold">Home Address<br>
<INPUT TYPE="text" NAME="cust_address" VALUE="$cust_address" size="50" maxlength="50"></p>
<p class="bold">City<br>
<INPUT TYPE="text" NAME="gen_city" VALUE="$gen_city" size="30" maxlength="30"></p>
<p class="bold">State/Country<br>
<select name="generalacct_state_country"></p>
<$generalacct_state_country>
<option value="">Select One</option>
<option value=Alabama>Alabama</option>
<option value=Alaska>Alaska</option>
one more thing, when u told me to close out my <option> with </option>, i find that most of the codes out there just use one </option> to end multipy <option>s. that's why I did my code previous to ur telling me. is there a big difference?
thanks for ur response in helping me.