The problem is getting a text box input, when a value is manually input, to override the web price value that has already been calculated and output in the table for each individual product in the table if needed.
Here is my code for this table:
<form id="form3" name="form3" method="post" action="">
<table border="1">
<tr>
<td width="250"><strong>Code</strong></td>
<td width="250"><strong>Name</strong></td>
<td width="250"><strong>Standard Cost</strong></td>
<td width="250"><strong>Web Price</strong> </td>
<td width="250"><strong>Override </strong></td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_Products['Code']; ?></td>
<td><?php echo $row_Products['Name']; ?></td>
<td>£<?php echo $row_Products['round(StandardCost,2)']; ?></td>
<td>£<?php echo round ($row_Products['StandardCost'] *= 1.40, 2) ; ?></td> // This is the web price that I would like to be able to override manually for each product if needed.
<td>£
<label>
<input name="Override" type="text" id="Override" size="10" maxlength="4" default value="0.00" ; ?> // This is the text box and submit button (below) that I plan to use for this function.
<input type="submit" name="Override2" id="Override2" value="Submit" />
</label></td>
</tr>
<?php } while ($row_Products = mysql_fetch_assoc($Products)); ?>
</table>
</form>
I am struggling to find a function to achieve a price override option for each individual product within the table.