PHP connecting to MSSQL
| From: | Alf Stockton | Date: | Sun, 29 Mar 2009 11:25:35 +0000 |
| Subject: | PHP connecting to MSSQL | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-29222@lists.php.net to get a copy of this message | ||
I have a problem not being able to connect to a MSSQL database on my laptop from a php application I wrote, however I can access the same database from Enterprise Manager no problem. The connect code looks like:-
$link = mssql_connect($servername, $dbusername, $dbpassword) or die("Unable to connect to T4T database");
and of course I consistently get "Unable to connect...........".
Where do I need to start looking.
--
Regards,
Alf Stockton www.stockton.co.za
You will be divorced within a year.