delete record on image click
Posted 26 June 2006 - 08:58 AM
i would like to implement delete operation using image.It should pop up window asking to delete the record
with yes no option.if yes record is deleted.
how can i go about it.
Posted 26 June 2006 - 09:05 AM
I would have the delete image link to a script that deletes the record but requires confirmation first.
delete.php?id=10 asks for confirmation which then submits to it self.
delete.php?id=10&confirm=true would the delete the record.
You could use a IF statement to make sure confirmation = true.
When all else fails - Try reading the manual.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users