Hey, guys.
Here's my code:$host = 'localhost';at the resulting page i'm getting error message:
$user = 'aaa';
$pass = 'bbb';
$db = mysql_connect($host, $user, $pass) || die("something went wrong");
$dbName = "menkaur_moviesite";
mysql_select_db($dbName, $db);
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/menkaur/public_html/php/index.php on line 17
what's the problem?


Reply With Quote

Bookmarks