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!
In reply to Re: Accesing a database from different sites
by phydeauxarff
in thread Accesing a database from different sites
by kidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |