note 49364 modified in ref.mssql by danbrown

From: Date: Mon, 18 May 2009 02:12:55 +0000
Subject: note 49364 modified in ref.mssql by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155633@lists.php.net to get a copy of this message
I was having problem in connecting Ms-SQL server with mssql_connect(srvr,uid,pwd). I used odbc functions to connect to Ms-SQL server. I was on a work station and server was not accessible for unknow reasons. mssql functions did not work there so I had to use odbc. I simply created a DSN to my Database and replaced it with "server_name". i.e. <?php mssql_connect(dsn,uid,pwd); ?> it worked well --was-- I was having problem in connecting Ms-SQL server with mssql_connect(srvr,uid,pwd). I simply created a DSN to my Database and replaced it with "server_name". i.e. mssql_connect(dsn,uid,pwd); it worked well http://php.net/manual/en/ref.mssql.php

« previous php.notes (#155633) next »