title: export database using php code in .sql Extension?
body: <p>Is it possible to export the database with .sql Extension using PHP code?</p>
  <h1>Example</h1>
  <p>database name: <code>demodb</code><br />
  DB contains two tables</p>
  <p>table one: <code>user</code></p>
  <p>table two: <code>registration</code></p>