I use the mysqldump command line utility to do this and I don't know how to
interface that from PHP. However:

I just checked how phpMyAdmin does it and apparently it has functions that
re-create the dump using queries. You might want to download it
(http://www.phpwizard.net/projects/phpMyAdmin/) and check out the files
db_dump.php, tbl_dump.php and db_readdump.php.

Hope this helps!

Aral :)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to