in reply to Accesing a database from different sites
That code will work fine for you, all you need to do is change "localhost" to the actual host you are trying to connect to.
You will also need to make sure any firewalls you are going through allow port 3306, or if not...you can change that as well.
Enjoy!
|
|---|