Hey, guys.

Here's my code:
$host = 'localhost';
$user = 'aaa';
$pass = 'bbb';
$db = mysql_connect($host, $user, $pass) || die("something went wrong");

$dbName = "menkaur_moviesite";

mysql_select_db($dbName, $db);

at the resulting page i'm getting error message:
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?