Hi.. am a new to PHP scripting.
My php script is not getting connected to mysql db. Please help me!
i didn't get any errors in the output. may be the configuration issue. :wall:
my script is,
<?php
extension=php_mssql.dll
$username = "user";
$password = "pwd";
$hostname = "db.mysql";
$dbhandle = mysql_connect($hostname, $username, $password)
if (!$dbhandle) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($dbhandle);
?>
Thanks in Advance