RE: [PHP] MS SQL server connection problem.

2012-09-05 Thread Andrew Ballard
On Sep 5, 2012 7:14 AM, "Jeff Burcher" wrote: > > Hi, > > I am relatively new as well. I tried both of those methods with no luck. I > finally had success using odbc_connect(). See below: > > $conn = odbc_connect("Driver={SQL > Server};Server=$server;Database=$database;", $user, $password); > > Th

Re: [PHP] MS SQL server connection problem.

2012-09-05 Thread Girish Talluru
Hi Jeff - Wonderful - Nice find. Thanks a lot -Girish Talluru On Wed, Sep 5, 2012 at 4:43 PM, Jeff Burcher wrote: > Hi, > > I am relatively new as well. I tried both of those methods with no luck. I > finally had success using odbc_connect(). See below: > > $conn = odbc_connect("Driver={SQL > S

RE: [PHP] MS SQL server connection problem.

2012-09-05 Thread Jeff Burcher
Hi, I am relatively new as well. I tried both of those methods with no luck. I finally had success using odbc_connect(). See below: $conn = odbc_connect("Driver={SQL Server};Server=$server;Database=$database;", $user, $password); Thanks, Jeff Burcher - IT Dept Allred Metal Stamping PO Box 2566

Re: [PHP] MS SQL server connection problem.

2012-09-05 Thread Serge Fonville
Hi, why do I need a native client or ODBC driver when I already got this driver > installed in my system. You need the Native Client on top of the PHP driver. The PHP driver implements functions that enable PHP to talk to SQL Server through the Native Client. HTH Kind regards/met vriendelijk