> Is it possible to "hotlink" a MySQL database?
> my site location is different then my MySQL location. (or at least a
> site).
> Is it possible to use the database for both sites or should I set up
> database at both locations?
> The reason for asking is that one of the locations doesn't provide
> DB's anymore (max number of DB's is limited)
> Pls let me know if this is possible, and if so, how.

It's possible as long as your database allows remote access. You just
give the IP address of the mysql server in your mysql_connect()

$link = mysql_connect("","user","password");

---John Holmes...

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

Reply via email to