[UPHPU] Connecting to mssql through php???
Brady Mitchell
mydarb at gmail.com
Tue Mar 17 19:08:00 MDT 2009
On Tue, Mar 17, 2009 at 1:03 PM, Caleb Call <caleb at macjunk.net> wrote:
> I'm trying to use mssql_connect, but I'm not opposed to using another method of
> connecting if it's better. Any help would be appreciated.
I've only used MS SQL and PHP together once, and I was never able to
get it working using the built-in functions on their own. Using adodb
(http://adodb.sourceforge.net/) worked well for me:
$conn =& ADONewConnection('odbc_mssql');
$conn->Connect($dsn_name,$db_user,$db_passwd);
HTH,
Brady
More information about the UPHPU
mailing list