Hi,
$dblink = @mysql_connect($dbhost,$dbuid,$dbpwd);
$db_selected = @mysql_select_db($dbname,$dblink);
Eine Datenbank auswählen zu wollen, wenn erst gar keine Verbindung hergestellt werden konnte, ist nicht besonders sinnvoll.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.