I'm looking for someone to help me create a php script that will execute a .sql file which creates tables & insert data into a database.
The sql file was exported from a mysql database. We don't need any kind of user interface. I'm creating a install script and need this so it creates the tables in the database without the user needing to log into phpmyadmin to import the sql file.
The sql file consists of about 25 tables and the amount of rows will vary from very little to to tens of thousands of rows with a lot of data. So this will need to work for both big and small sql files.