Hi im new to PHP, so maybe I'm doing something wrong.
I have a login script I copied, and am trying to put it on my site. Upon registration I get the error:
What I THINK is happening is that I have the wrong MySQL host (I'm using exofire.net).Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysql.x10hosting.com' (1) in /home/darwin/public_html/database.php on line 6
Unknown MySQL server host 'mysql.x10hosting.com' (1)
here is my code for database.php:
The Site I'm using it on is conquestofages.exofire.net.<?
/**
* Connect to the mysql database.
*/
$conn = mysql_connect("mysql.x10hosting.com", "*********", "*******") or die(mysql_error());
mysql_select_db('members', $conn) or die(mysql_error());
?>
If anyone need more info, the source I copied from is Here:
http://www.evolt.org/article/comment...265/index.html
Thanks
~WTV~


LinkBack URL
About LinkBacks


