Re: [PHP] [mssql_connect error] Changed database context to..

2007-08-26 Thread Richard Lynch
On Thu, August 23, 2007 6:26 pm, Liz Kim wrote: > Did anyone else run into this problem? > > PHP fails to connect to MSSQL7 with mssql_connect with the message: > Changed database context to ''. > > I've been searching around but did not find a good solution for PHP. > I did find this link: > http:

Re: [PHP] [mssql_connect error] Changed database context to..

2007-08-23 Thread John A DAVIS
That doesn't sound like the whole error message to me, but it does hint that maybe your connection isn't referencing the database correctly with the correct prefixes or USE statement.   No expert here. >>> "Liz Kim" <[EMAIL PROTECTED]> 8/23/2007 4:26:19 PM >>> Did anyone else run into this

[PHP] [mssql_connect error] Changed database context to..

2007-08-23 Thread Liz Kim
Did anyone else run into this problem? PHP fails to connect to MSSQL7 with mssql_connect with the message: Changed database context to ''. I've been searching around but did not find a good solution for PHP. I did find this link: http://support.microsoft.com/default.aspx?scid=KB;EN-US;197459 But

RE: [PHP] mssql_connect error

2003-06-25 Thread Gary Ogilvie
Seems ok here. -Original Message- From: Michael A Smith [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 19:45 To: Gary Ogilvie Subject: RE: [PHP] mssql_connect error You need a load_extension ( i think ) directive in the php.ini file pointing to the right dll. -Michael On Wed, 2003-06-25

RE: [PHP] mssql_connect error

2003-06-25 Thread Gary Ogilvie
The extensions directory is set to the correct path in the ini file though. I can't see where my error is... -Original Message- From: Michael A Smith [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 18:56 To: Gary Ogilvie Subject: RE: [PHP] mssql_connect error It's in the php.ini

RE: [PHP] mssql_connect error

2003-06-25 Thread Gary Ogilvie
What do you mean? How do I do this? -Original Message- From: Michael A Smith [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 18:53 To: Gary Ogilvie Subject: Re: [PHP] mssql_connect error You didn't compile with --enable-mssql. -Michael On Wed, 2003-06-25 at 09:48, Gary Ogilvie wrote:

[PHP] mssql_connect error

2003-06-25 Thread Gary Ogilvie
Hi all, I am testing a connection to MSSQL but I get the following error: Fatal error: Call to undefined function: mssql_connect() in c:\inetpub\scripts\newsletter.php on line 28 I don't understand what this error is - my code is as follows: $myServer = "localhost"; $myUser = "admin"; $myPa