Reply to How to use PHP to execute a file of SQL commands
Posted by laredotornado on 06/12/06 16:56
Hello,
I'm using PHP 4, MySQL 4. I have a text file where each line contains
an SQL command. Is there a way, using PHP, to execute the contents of
the file without parsing through each line of the file (using fopen and
fgets) and executing each command one by one?