Here is my code:
<form name="pay" action="next.php" method="post">
<?php
while ($row = mysql_fetch_assoc($result)) {
?>
<tr>
<td><b>Contract Name</b></td>
<td><input type="text" name="project_name" value="<?php echo "$row[project_name]"; ?></td>
</tr>
<tr>
<td class="alt" ><b> Pay</b></td>
<td><input type="text" name="base_salary" id="base_salary" size=10 value="<?php echo "$row[project_name]"; ?>"></td>
</tr>
<tr>
<?php
}
?>
</tr>
<tr><td class="alt" ><input type="submit" id="submit" value="Compute"/></td></tr>
</form>
How to submit this while
loop values to next.php page?