|
Posted by Hilarion on 07/19/05 21:32
> Or you can change the name of the submit button variable, but it gets a
> little harder to find.
One could try (assuming row ID is equal to 4):
<input type="submit" name="delete[4]" value="Delete" />
This way you will be able to find deleted ID by checking key
in $_POST['delete'] or $_GET['delete'] (using "key" function)
without having to show the ID on the button or having to
look which variable is set by names.
Hilarion
Navigation:
[Reply to this message]
|