Notice: Undefined variable on form?
Hi, I have a form used in several pages across my site. On one page however this form select field errors "Notice: Undefined variable: on line 391", the select list does appear and the form works but the error box always appears.
<?php
do {
?>
<option value="<?php echo $row_WADADynListtblCaseType['CaseTypeID']?>"><?php echo $row_WADADynListtblCaseType['CaseTypeName']?></option>
<?php
} while ($row_WADADynListtblCaseType = mysql_fetch_assoc($WADADynListtblCaseType));
$rows = mysql_num_rows($WADADynListtblCaseType);
if($rows > 0) {
mysql_data_seek($WADADynListtblCasetype, 0);
$row_WADADynListtblCaseType = mysql_fetch_assoc($WADADynListtblCaseType);
}
?>
Line 391: mysql_data_seek($WADADynListtblCasetype, 0);
If I copy and paste the form to a different section on the page it works fine which has left me confused. Any ideas appreciated form is attached if it helps..