PHP – Koppla upp mot en databas

PHP – Koppla upp mot en databas

mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( “Unable to select database”);