Trying to backup my mysql db on another server using php.
some post I found pretend I could use this ;
$command = "mysqldump -u [username] -p [password] [databasename] > [backupfile.sql]";
system($command);
The thing is, I'm not sure that "> backupfile.sql" really do something as I'm not...
Using any method... DOMDocument with foreach if possible, but any other way is good!
<xml>
<node1>
<node>Node Value</node>
<node>Node Value</node>
...
</node1>
<node2>
<node>Node Value</node>
<node>Node Value</node>
...
</node2>
</xml>
Explanation : I have a xml file with the main node (xml)...