[PHP] MS SQL server connection problem.

2012-09-05 Thread Girish Talluru
Hi All, I'm having problem while connecting to MS SQL server from my php program. I tried downloading driver from Microsoft and changed php.ini file but it is showing the following error. This statement I used to connect. $connect = mssql_connect("localhost", "PC6", "password"); This is the err

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

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 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] templeting

2012-09-05 Thread Mihamina Rakotomandimby
On 09/04/2012 04:14 AM, David McGlone wrote: Does anyone use any templeting system for any projects? If so what would anyone recommend? I looked at Code Ignitor, but it seems the templeting system is optional and left out by default. - Jelix / jTpl - Symfony / Twig -- RMA. -- PHP General Mail

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