Warning: mssql_connect() [function.mssql-connect]: message: Login failed for user 'mark'. (severity 14)
It's able to find the server because if it can't find the server then it crashes at that point. So now I'm just having a problem loging into sql-server that is running on the same machine. I tried two different logins. I tried making apache with services login. before that I tried creating a user and password both 'mark' in SQL Server. That didn't work either.
I'm using apache
$server = 'REBOOTMY-XXXX\SQLEXPRESS'; //Your server name will be here
// Connect to MSSQL
//$link = mssql_connect($server, 'mark', 'mark');
$link = mssql_connect($server, '.\apache', 'lucy51');