Dear Dave,
Thank you for your help. Your suggestion worked really well on the fields, but I can not seem to get it to work on the select/menu. I have pasted the code below.
<select name="Height_ID" id="Height_ID">
<?php
do {
?>
<option value="<?php echo $row_HeightRs['HeightID']?>"<?php if (!(strcmp($row_HeightRs['HeightID'], (isset($_SESSION["WAVT_index_410_Errors"])?ValidatedField("index_410","Height_ID"):"".$row_MemberAboutMeRs['HeightID'] ."")))) {echo "selected=\"selected\"";} ?>><?php echo $row_HeightRs['HeightName']?></option>
<?php
} while ($row_HeightRs = mysql_fetch_assoc($HeightRs));
$rows = mysql_num_rows($HeightRs);
if($rows > 0) {
mysql_data_seek($HeightRs, 0);
$row_HeightRs = mysql_fetch_assoc($HeightRs);
}
?>
</select>
Can you suggest what I need to change
Many thanks for your help