ashish4172 Posted June 26, 2006 Share Posted June 26, 2006 hi gurusi would like to implement delete operation using image.It should pop up window asking to delete the recordwith yes no option.if yes record is deleted.how can i go about it.thanksAshish Quote Link to comment https://forums.phpfreaks.com/topic/12918-delete-record-on-image-click/ Share on other sites More sharing options...
d_barszczak Posted June 26, 2006 Share Posted June 26, 2006 Hi,I would have the delete image link to a script that deletes the record but requires confirmation first.ie: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.Either that or you could prob create a JavaScript Yes / No popup. Quote Link to comment https://forums.phpfreaks.com/topic/12918-delete-record-on-image-click/#findComment-49584 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.