$conn = mysql_connect("localhost", "usuario", "password") or die(mysql_error());mysql_select_db("base de datos", $conn) or die(mysql_error());