I try the following code:
$forum_connect=mysql_connect("127.0.0.1","","") || die("Connection failed");
$myforum=mysql_select_db("sleepy") || die("Could not find database");
mysql_close($forum_connect);
but it gives me an error of:
Warning: Supplied argument is not a valid MySQL-Link resource
What's wrong with the code?