shanthi Posted May 18, 2010 Share Posted May 18, 2010 Is there a way in php to create a confirmation box when a user does something like delete a row from a database? I used an image insteed of button for delete a row Link to comment https://forums.phpfreaks.com/topic/202125-to-display-conformation-box/ Share on other sites More sharing options...
bibby Posted May 18, 2010 Share Posted May 18, 2010 That sounds to me like a problem for javascript. In the alert() family, there is confirm() and prompt() Link to comment https://forums.phpfreaks.com/topic/202125-to-display-conformation-box/#findComment-1059912 Share on other sites More sharing options...
scampbell Posted May 18, 2010 Share Posted May 18, 2010 Yeah something like <a onclick='return confirm(\"DELETE: Are you sure?\")' href= Link to comment https://forums.phpfreaks.com/topic/202125-to-display-conformation-box/#findComment-1059929 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.