Moved to the correct forum.
programming questions goes in the programming section
php install help is when you are trying to INSTALL a script you downloaded
Code:
mysql_select_db("3107_login") or die(mysql_error());
You must put all strings in quotes.