how to backup mysql database using php?

<?php
$backfile=”a.sql”;
$command=”mysqldump  -u root test>$backfile”;//
system($command);
?>


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *