/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function fixTables($dbname) { // search for all the tables of // a db and run repair and optimize // note: this can take a lot of time // if you have big/many tables. } }
URL: http://www.barattalo.it/2010/01/25/10-php-usefull-functions-for-mysql-stuff/