Export MySQL database using PHP only [closed]
Does someone have a tutorial for exporting a MySQL database to a .sql file. I don't have shell access so I can't use exec I've found this URL: http://davidwalsh.name/backup-mysql-database-php but I looked through the code and this code is old and not good written. I've looked over the internet but for most tutorials I need shell access the rest is outdated. Thanks in advance. Raju Dudhrejiya Best way to export database using php script. Or add 5th parameter(array) of specific tables: array("mytable1","mytable2","mytable3") for multiple tables <?php //ENTER THE RELEVANT INFO BELOW