title: how to use mysqldump command in php?
body: <p>I want to backup my database. So I've used this command</p>
  
  <p><code>$command = "mysqldump --user=root asset_management &gt; D:\assetmanagement\public\backup\backup.sql";
  system($command);</code></p>
  
  <p>But this will produce an empty sql file.. can anyone help?</p>