gojira2005
Technical User
This is bound to be embarassingly simple!
I have a mysql database hosted on one of sites. I would like another of my sites to link to it.
However, I cannot make a connection!
The code I am using is as follows:
this is the first time I have done this so please be gentle on me! Thanks.
I have a mysql database hosted on one of sites. I would like another of my sites to link to it.
However, I cannot make a connection!
The code I am using is as follows:
Code:
$connection=mysql_connect("[URL unfurl="true"]http://localhost.sitename.biz","username","password")[/URL] or die("Cannot connect to mysql server");
this is the first time I have done this so please be gentle on me! Thanks.