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 Quote 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() Quote 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= Quote Link to comment https://forums.phpfreaks.com/topic/202125-to-display-conformation-box/#findComment-1059929 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.