$user="user";
$password="pass";
$database="db";
$link = mysql_connect("mysqldb",$user,$password);
@mysql_select_db($database) or die( "Unable to select database");
mysql_close($link);
PHP Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /hermes/data11/b364/hintsforhomes/protection.php on line 158
According to the manual the way I have this written should work. Now sure why I'm receiving this error.
Has anyone else experienced this error? Gary