Compare the <option> tag value with the submitted value. If they match, echo [i]selected="selected[/b] in the tag.