[!--quoteo(post=378330:date=May 30 2006, 04:14 AM:name=Honoré)--][div class=\'quotetop\']QUOTE(Honoré @ May 30 2006, 04:14 AM) [snapback]378330[/snapback][/div][div class=\'quotemain\'][!--quotec--] try this one: [code] <option value="<?php echo $row_rsPrecincts['votingprecinct_id']?>"<?php if (!(strcmp($row_rsPrecincts['votingprecinct_id'], $row_rsVoter['votingprecinct_id']))) {echo "SELECTED";} ?>><?php echo $row_rsPrecincts['precinctname']?></option> [/code] [/quote] Hi, I'm a little new to PHP, not so much dreamweaver, and i was wondering, how did you know that, that was the mistake? can you please explain more about it.. thanks..