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 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  magazine dedicated to PHP programmer

Come visit us at http://www.phparch.com!



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to