2nd boneheaded question of the morning...
My MSSQL table is set to not allow null values. However, my form, even when nothing is selected in a dropdown, will submit a value of "0" to the table. I am not sure why! I have tried
<option value=""></option>
<option value=" "></option>
<option value="\0"></option>
<option value="' . $row['f_id'] . '">' . $row['fn_name'] . ' ' . $row['city_name'] . ' ' . $row['f_state'] . ' </option>
and no <option> html tags at all, and no matter what, when there are no dropdown selections, the zero is added to the table column. This is more of a PITA during development when I hit refresh to view the page changes, since with every refresh it adds another bogus record to the table.
Is there a way to stop this from happening?