Posted 11 July 2006 - 01:45 PM
Ok, so this summer I'm working as an intern and developing a PHP system for the company. No one here really knows anything about PHP/MySQL/any web stuff pretty much. I just set up a simple server, running WAMP5, and everything is running fine off of this. The problem is that I leave here in a little over a month, and they would like backup capabilities for their database, obviously. I would really like to write a php program that allows them to simply click a "Backup" button and an sql file would be generated with all the contents of the database. I know that MySQL allows people to export their databases, but is there a way to call this export from PHP? or will I need to write php that generates the sql export?