Connect to MySQL database with PHP

<?php
//define $host, $user and $pass
mysql_connect($host,$user,$pass);
@mysql_select_db($dbase) or die( "Unable to select database");
?>
Advertisements