Hi,
I have a php-page with a formfield that contains values from a mysql database.
<option value="<?php echo $row_Rubriek['Rubriek']?>"><?php echo $row_Rubriek['Rubriek']?></option>
<?php
} while ($row_Rubriek = mysql_fetch_assoc($Rubriek));
$rows = mysql_num_rows($Rubriek);
if($rows > 0) {
mysql_data_seek($Rubriek, 0);
$row_Rubriek = mysql_fetch_assoc($Rubriek);
}
?>
After a submit of the form the formfield rebuilds to all the databasefield values. Is it possible to point to the last used value of the formfield?
Thanks in advance,
Jack