MySQL Dumper 1.0
MySQLdumper is a class that lets you generate a dump of a MySQL database with just 2 lines of code. The dump can be used as a database backup.
The dumps contain valid MySQL SQL queries. It does not require the mysqldump command line utility, so the class works even in servers on which this command is not available on the server.
The dumps may generates with optional SQL statements to drop the MySQL tables so when the dumps are used to restore a database it overwrites any existing copies of the same database tables.