values in array being escaped

Posted on 16th Feb 2014 by admin

I would like to submit some values - back to the same form for checking before processing...

Code: [Select]<FORM method="post">
<table width="500px" border="1" align="center">
<tr><td>Item</td><td>Cost</td><td>Qty</td></tr>

<?php print_r($Invoice); ?>

<tr>
<td><input type="text" name="Invoice[0]['name']"></td>
<td><input type="text" name="Invoice[0]['cost']"></td>
<td><input type="text" name="Invoice[0]['num']"></td>
</tr>
<tr>
<td colspan="3">
<input name="action" type="submit" value="Update">
<input name="action" type="submit" value="Process">
</td>
</tr>
</table>
</FORM>

Other forums