Ok, I'm really really stuck with this. I've tried everything to my knowledge to fix it, but I just can't. So please, can anyone here help me with this error:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'host-ip' (4) in /home/ashley/public_html/pw/inc/config.php on line 7
This is my PHP:
$dbconn = mysql_connect($dbhost, $dbuser, $dbpass);
I've tried everything, gone through 20 pages of Google, nothing. If anyone here can help me fix this, I will be eternally grateful.