Can Anybody tell me how to load an sql file from php
Err why.. simple.. include('filename.sql');
OR do you want to get information from the database itself..
No, I am looking to load the file into the database, I am trying to generate SQL scripts using php and load them to mysql, Thanks, Hearny.
Can you not just load the script into a string and run mysql_query($string, $db) on it? Or am I missing the point? :rolleyes: