I am getting the following error on a new form.
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sites/lsdogs.org.uk/public_html/Members/Handler_Insert2.php on line 275 
The code is;
<select class="formMenufield_Medium" name="unit" id="unit" tabindex="4" onBlur="hideServerError('unit_ServerError');">
<option value="" <?php if (!(strcmp("", (isset($_GET["invalid"])?ValidatedField("HandlerInsert","unit"):"")))) {echo "selected=\"selected\"";} ?>>Please Select a Unit</option>
<option value="<?php echo $row_WADADynListunits['unit_id']?>" <?php if (!(strcmp("<?php echo $row_WADADynListunits['unit_id']?>", (isset($_GET["invalid"])?ValidatedField("HandlerInsert","unit"):"")))) {echo "selected=\"selected\"";} ?>><?php echo $row_WADADynListunits['unit_name']?></option>
</select>
I tried my fix which didn't help, I just got unexpected "," error messages.
Any ideas?
It just seems to be code created by CSS Form Builder when converting a DA form where a dropdown is used.


