how to restore backup mysql file in php [duplicate]
问题 This question already has answers here : Running MySQL *.sql files in PHP (12 answers) Closed 3 years ago . I have backup successfully but now i need to restore that data in localhost j my backup drive is C:\wamp\www\my Pawning Project\backup_restore this is my restore code. <?php include '../Connection/connect.php'; $restore_data = $_GET['restore_data'];//file time $base="http://localhost/my%20Pawning%20Project/backup_restore/"; $query = "select * from backups where time='$restore_data'";