<?
$sql="select * from table";
while($row=mysql_fetch_array($sql))
{
$name=$row['name'];
$view=$row['view'];
$view1=$row['view1'];
$id2=$row['id'];
?>
<form name="myform" action="list.php?id=<?=$id2;?>&view=<?=$view;?>" method="post">
<td align="center" width="5%"><?=$name;?></td>
<td align="center" width="5%"><?=$view;?></td>
<td align="center" width="3%"><input type="text" value="<?=$view1; ?>" size="5" id="newva" name="newva"> </td>
</form>
<td align="center" width="5%">
<a href="/show/list?id=<?=$id2;?>&view=<?=$view;?>" onClick="document.myform.submit();" >Submit</a>
</td>
<? } ?>
It shows out put like
name view view1 link
xxx 4 4 (in text box) Submit
yyy 5 5(in text box) Submit
zzz 6 6(in text box) Submit
I want to edit value for view1 and when click on link submit it saves
edited value in table(mysql).
How to do that??