note 47454 deleted from function.mysql-query by sean
| From: | sean@php.net | Date: | Wed, 17 Nov 2004 19:09:57 +0000 |
| Subject: | note 47454 deleted from function.mysql-query by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80655@lists.php.net to get a copy of this message | ||
Note Submitter: [dumm]p ---- mysqldump
----
Yeah, need to take a dump via php myself, too.
It's all very ugly but what about a system call...
<?
system("mysqldump --add-drop-table -u <user> -p<pass> DB > dump.sql");
?>
...this wrote the dump into the folder where the php script resides. ;)
if it works at my boss's provider i'm happy.
Cheerz -TX8
----
Reason: useless note