menthods to connect a database mysql
<?php
$host="localhost";
$user="root";
$pass="";
$db_name="oma";
$con=mysql_connect($host,$user,$pass) or die(mysql_error());
$db=mysql_select_db($db_name,$con);
?>
What is the way you connect your database..?
thnx