In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!
<?php
// Server in the this format: <computer>\<instance name> or
// <server>,<port> 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';
}
?>
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
http://www.builderau.com.au/program/mysql/soa/Access-Microsoft-SQL-Server-2000-using-PHP/0,339028784,320283164,00.htm