i know other people have asked this before on the forum, but i can't find it when i search for it...
due to reasons beyond my control...i have to do some php stuff on a website and connect it to a db at another website.
how do i do this?
thanks...jv
You just need to use an appropriate connection string. See the PHP manual for mysql_connect(): http://www.php.net/manual/en/function.mysql-connect.php
This requires that the database server accept connections from the web server. It may not, due to firewall or restrictive settings in the db config. The only way around that is to contact the database administrator.