On my local development machine, I'm always deleting rows/truncating tables, or even dropping tables/databases all the time. However I'm constantly getting messages asking to confirm.
1) Where can I edit phpmyadmin's code so it doesn't show me javascript confirm/cancel boxes when I try to delete or empty tables,
2) In the new version of phpmyadmin, the handy 'empty' and 'drop' buttons that used to be visible while you were browsing a table are now gone. How can I bring them back?
I tried to do this myself but phpmyadmin's code is pretty impossible to make sense of. I don't know where their html is kept.
I didn't try it, but it looks good:
Take a look at your config.inc.php and change:
$cfg['Confirm'] = TRUE;
Source: http://wiki.phpmyadmin.net/pma/Config#Confirm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With