I wnt to connect php and mysql database : <pre><code>&lt;?php
$host ="localhost";
$user = "root";
$pass = "";
$db = "StuDet";

$conn = mysql_connect($host,$user,$pass);
mysql_select_db($db,$conn);

@mysql_select_db($database) or die ("Unable to select database");


?&gt;
</code></pre>

<p>I have a doubt in line "$conn = mysql_connect($host,$user,$pass);" </p>
