hi i am trying to connect to a mssql database i am getting the following errors
[qoute]
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: EAST-BB98AF31A6\SQLE XPRESS in C:\xampp\htdocs \ews\projects\w hatever-tiff\sql-connect.php on line 5
Notice: Connection failed: in C:\xampp\htdocs \ews\projects\w hatever-tiff\sql-connect.php on line 7
[/quote]
here is my code
[code=php]
<?php
ini_set('displa y_errors', 1); // set to 0 for production version
error_reporting (E_ALL);
$server = 'EAST-BB98AF31A6\SQLE XPRESS';
$link = mssql_connect($ server, 'EWS\omer', 'hondacd-70');
if($link == false) {
user_error("Con nection failed: " . mssql_get_last_ message());
}
?>
[/code]
i have the module loaded i have attached the screen shot for the php info
[qoute]
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: EAST-BB98AF31A6\SQLE XPRESS in C:\xampp\htdocs \ews\projects\w hatever-tiff\sql-connect.php on line 5
Notice: Connection failed: in C:\xampp\htdocs \ews\projects\w hatever-tiff\sql-connect.php on line 7
[/quote]
here is my code
[code=php]
<?php
ini_set('displa y_errors', 1); // set to 0 for production version
error_reporting (E_ALL);
$server = 'EAST-BB98AF31A6\SQLE XPRESS';
$link = mssql_connect($ server, 'EWS\omer', 'hondacd-70');
if($link == false) {
user_error("Con nection failed: " . mssql_get_last_ message());
}
?>
[/code]
i have the module loaded i have attached the screen shot for the php info
Comment