I have been setting up PHP and mySQL files using localhost. Now I need to upload this to the internet. I was told by my host that the MySQL database is hosted at ns1.globalinteract.com. How and where do I put this in my files so that it will connect up to the database?
If you are using mysql_pconnect() or mysql_connect then specify the server name i.e ns1.globalinteract.com as the first parameter.
mysql_pconnect ( [string server [, string username [, string password]]])