Running entire file with PEAR::DB
| From: | Nikhil G. Daddikar | Date: | Tue, 06 Apr 2004 13:50:28 +0000 |
| Subject: | Running entire file with PEAR::DB | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11664@lists.php.net to get a copy of this message | ||
I have a file consisting of lot of sql statements. I want to use PEAR::DB to run that script however, I keep on getting "syntax error". Looks like DB::query() doesnt like multiple sql statements in one file.
Any ideas on how to do it?
Thanks.