<? $dbh=mysql_connect ("localhost", "user","pass") or die('Cannot connect to the database because: ' . mysql_error()); mysql_select_db ("base_de_datos");?>