johnkoutstaal
Programmer
Hello php users,
We are making a page with buttons in tabele cells:
In a loop from a recordset we are placing the buttons in the cells.
<p align="left"><input type="submit" name=<?php echo $values['id']; ?> value="Reply back"></p>
The 'id' is an record id.
If we press on a button how get we back the id that is filled in the name of the button?
We can change the value of "name" and "value" but then the button get the id!
Can someone give us an example script for getting back an id?
Thanks for reading,
John.
We are making a page with buttons in tabele cells:
In a loop from a recordset we are placing the buttons in the cells.
<p align="left"><input type="submit" name=<?php echo $values['id']; ?> value="Reply back"></p>
The 'id' is an record id.
If we press on a button how get we back the id that is filled in the name of the button?
We can change the value of "name" and "value" but then the button get the id!
Can someone give us an example script for getting back an id?
Thanks for reading,
John.