hostname (newbie)

warnockworld

New member
Joined
Feb 25, 2006
Messages
1
Hi there,

I am looking to create a mySQL database driven by php. I don't want to host it on my local machine.

I use something like this to connect to the database I made:

mysql_connect("localhost", $username, $password) or die("can't connect to db");

If I want to host it with the webhosts instead of my local computer, what do I need to replace 'localhost' with?

thanks

Stephen
 
Back
Top