$location="localhost";
$username="root";
$password="test";
$db=mysql_connect($location,$username,$password);
if ($db)
{
print 'Yahoooo!! I am in.';
exit;
}
else
{
print "Tell me Why?".$db."end";
exit;
}
The result i get is Tell my Why?end
the $db doesnt print.
my configuration
Win 2K
MySql server 4.1.7
PHP Version 4.3.11
Windows IIS
Thanks guys ...