Re: [PHP] Loading SQL files (not CSV) into mySQL

2001-04-03 Thread Mark Maggelet
I think you want: exec("/path/to/mysql -p$password -u$username $database < $filename"); On Wed, 04 Apr 2001 00:35:34 +0100, Andy Warwick ([EMAIL PROTECTED]) wrote: >I'm after some pointers on how to dump and load SQL files to and >from mySQL >using a PHP/HTML form. > >I've read the manual about "

[PHP] Loading SQL files (not CSV) into mySQL

2001-04-03 Thread Andy Warwick
I'm after some pointers on how to dump and load SQL files to and from mySQL using a PHP/HTML form. I've read the manual about "LOAD DATA INFILE", but as far as I can tell that won't help in this case. Unfortunately, CSV files are not an option (client's demands... go figure). What I'm after is d