title: How to execute mysql script file in PHP?
body: <p>I have almost 100MB of example.sql file. (Actually data export file from another database)</p>
  
  <p>I want to give user the ability to run this file through some interface in my application.
  Can you please guide me how can i do that? Should i treat it as simple text file? Either there is any quick way???</p>
  
  <p>In other words, I want to add same functionality as we have in phpMyAdmin, The import functionality.</p>
  
  <p>If you can refer me some class on PHPclass.org that will be great.</p>