hi people i am making a dynamic form in which the results are shown . the number of results varry every time so they have to be dynamic , if the user clicks on one of the results detials button the user should be redirected to a new page with full detials of the result to make this happen i should know on which result user clicked so i must retive that data. i have used multiple things like using GET but it only gets me the last result values, if i store them in a array how to i know which index of the array is to be used ??? i hope u people can help me out
here is the code i wrote about the form may be there is some mistake in this ..kindly help me out
while($row = mysql_fetch_row($done))
{
?>
<form name="RESULT" action="get.php" method="POST" >
CELL ID
<input type="text" name="cellid" value="<?php echo $row[0]?>"/>
<label>DEGRADED KPI:
<input type="text" name="degradedkpi" value="<?php echo $row[1]?>" />
</label>
<label>DEGRADED KPI VALUE :
<input type="text" name="degradedkpivalue" value="<?php echo $row[2]?>"/>
</label>
<label>REGION
<input type="text" name="region" value="<?php echo $row[3]?>"/>
<label>STATUS
<input type="text" name="status" value="<?php echo $row[4]?>"/>
</label>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
<p></p>
<p></p>
<?php