Logged In: NO

Add "$db = mysql_connect('localhost','user','passwd');" to line
2 of db.inc.php