I was asked to create an export and import mysql database with it's structure and data into a .sql file using php scripting and not phpmyadmin to make the user be able to backup his data?
Does anybody have an idea how to do that??
Thanks in advance
SAFE and WORKING SOLUTION :
EXPORT_TABLES("localhost","user","pass","db_name");
// has 5th and 6th optional parameters too.
Latest version is available at github: Export.php + Import.php
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