HI
I have created an update form which is all working as the fucntions its self . But i have a problem with selecting the data to update
I have created a drop down menus that populates from mysql this is on the insert form
but i need it too appear on the update form whilst also echo the records selected value .
<? echo $rows['vetid']; ?> that its how ive done for the values with no drop down box
[CODE]select name="animalid">
<?
$query=("select * from animals");
$result=mysql_query($query) or die ("Unable to Make the Query:" . mysql_error() );
while($row=mysql_fetch_array($result)){
echo "<OPTION VALUE=".$row['animalid'].">".$row['animal']."</OPTION>";
}
?>[/CODE]
so is it possible to merge theese two bits of code together .
Thanks