\ or
// , when using a non default port number
error_reporting(E_ALL);
if (!function_exists('mssql_connect')) {
echo 'mssql_connect not exist';
exit;
}
$server = 'ggcircuit.db.3438312.hostedresource.com';
$link = mssql_connect($server, 'ggcircuit', 'xxxxxx');
if(!$link)
{
die('Something went wrong while connecting to MSSQL');
} else {
echo 'aaaaaaaaaa';
}
?>
|