I downloaded a syntax checker and it highlighted the php tagjust before the if (!strcmp("<?php echo

so my code now looks like this and does not produce a syntax error<option value="<?php echo $row_WADADynListlocations['City']?>" if (!(strcmp("<?php echo $row_WADADynListlocations['City']?>", (isset($_GET["invalid"])?ValidatedField("gigInsert","location"):"")))) {echo "selected=\"selected\"";}><?php echo $row_WADADynListlocations['City']?></option>