RE: [PHP-DB] calling sql script

2002-11-07 Thread Adam Voigt
t; Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] calling sql script > > > You can use exec > > http://ca.php.net/manual/en/ref.exec.php > > You will probably need to call the mysql shell like so: > > /path_to_mysql/mysql -u user -p password [-h host] -D da

RE: [PHP-DB] calling sql script

2002-11-07 Thread Edward Peloke
But I am not sure where my hosting companies mysql is so I do not know the path -Original Message- From: Marco Tabini [mailto:marcot@;inicode.com] Sent: Thursday, November 07, 2002 11:31 AM To: Edward Peloke Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] calling sql script You can use

Re: [PHP-DB] calling sql script

2002-11-07 Thread Marco Tabini
You can use exec http://ca.php.net/manual/en/ref.exec.php You will probably need to call the mysql shell like so: /path_to_mysql/mysql -u user -p password [-h host] -D database -e \\. filename Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide

RE: [PHP-DB] calling sql script

2002-11-07 Thread Anderson, Jerrad
http://www.phpbuilder.com/manual/function.exec.php -Original Message- From: Edward Peloke [mailto:epeloke@;echoman.com] Sent: Thursday, November 07, 2002 12:02 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] calling sql script I need to use a php page to run an .sql script against a mysql db

RE: [PHP-DB] calling sql script

2002-11-07 Thread Anderson, Jerrad
There is a shell command I remember reading on phpbuilder.com. do a quick search. .. I believe it is exec -Original Message- From: Edward Peloke [mailto:epeloke@;echoman.com] Sent: Thursday, November 07, 2002 12:02 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] calling sql script I need to

[PHP-DB] calling sql script

2002-11-07 Thread Edward Peloke
I need to use a php page to run an .sql script against a mysql db. How do I simply call the script from php? I can take parts of it and execute the statements but I would like to just call the entire script. Thanks, Eddie -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visi