Please i need help on how to post this form to a php processing file. In particular i want the name of the button - packer to be variable in the next page.

Thank you.

<form action="/abc/pay.php" method="post"> 
<table style="width: 1024px;" border="0">
<tbody>
<tr>
<td>
<table style="width: 300px;" border="0">
<tbody>
<tr>
<td width="150"><span id="10428_b">B</span></td>
<td width="45"><span id="10428_c"> c</span></td>
<td width="70"><span id="10428_a"> 5000</span></td>
<td width="35"><span> <input id="10428" title="pay" name="packer" type="submit" value="Pay" /></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</form>

If you don't mind, try javascript by creating a hidden input and use the script to fill the value with the name of your button.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.