Hi all,
im sorry, im just a beginner, I had never come across to such circumstances.
Submit a form, with while loop, how am i going to retreive every single value submitted from the form?
<form name="pay" action="pay.php" method="post">
<?php
while ($row = mysqli_fetch_assoc($result)) {
echo '
<th width=70% colspan="3"> '.$row[project_name].'</th>
<tr>
<td class="alt" ><b>Contract Name</b></td>
<td class="alt"> '.$row[project_name].'</td>
</tr>
<tr>
<td class="alt" ><b> Pay</b></td>
<td class="alt">
<input type="text" name="base_pay" id="base_pay" size=10 value= "'.$row[base_pay].'">
</td>
</tr>
<tr>
<td class="alt" ><b>Bonus</b></td>
<td class="alt">
<input type="text" name="bonus" size=10 id="bonus" >
</td>
<td width=200 class="alt"></td>
</tr>
<tr>
';
}
?>
<tr><td class="alt" >
<input type="button" VALUE="Back" onClick="window.location.href='view_pay.php'"/>
<input type="submit" id="submit" value="Compute"/></td></tr>
</form>
can someone guide me,please. How to retreive all the value after submit
Thank you!