Hi,

I have a .sql file which contains the following;
  • Setting variable
  • Prepared statements generation
  • Prepared statement execution


I've tried using file_get_contents() and mysql load data infile (I may be using it for the wrong task).

How would I execute this file?

Cheers,
Michael