same as you do from anywhere. pass the mysql_connect function your host, username,and password. what host name do you use now? if your using localhost, you will need to find the ip of your database host. you will also need to grant permissions to connect from a remote host though.