Database code is not connecting in chat program using php
    enter code here

<?php
// MySQL database connection file
$SERVER = "127.0.0.1"; // MySQL SERVER
$USER = "root"; 		// MySQL USER
$PASSWORD = "admin";		// MySQL PASSWORD

$link = @mysql_connect($SERVER,$USER,$PASSWORD);
$db = mysql_select_db("website");

?>


This is a database connecting code for chat program but it not connecting,Can any one pls help me to correct this code?
Database code is not connecting in chat program using php
===

    enter code here

<?php
// MySQL database connection file
$SERVER = "127.0.0.1"; // MySQL SERVER
$USER = "root"; 		// MySQL USER
$PASSWORD = "admin";		// MySQL PASSWORD

$link = @mysql_connect($SERVER,$USER,$PASSWORD);
$db = mysql_select_db("website");

?>


This is a database connecting code for chat program but it not connecting,Can any one pls help me to correct this code?