Re: I'm curious and baffled.

From: Date: Tue, 14 Nov 2000 18:06:47 +0000
Subject: Re: I'm curious and baffled.
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4433@lists.php.net to get a copy of this message
In article <8urqgh$7c6$1@toye.p.sourceforge.net>, scott@abcoa.com ("Scott Fletcher") wrote: > When I use the php code, "mssql_connect("***","***","***") > or die > ("Couldn't connect to the server.");" and run it. All I got was an error > message saying undefined function for mssql_connect(). Why is that? I'm not familiar with MSSQL, but it looks like mssql_get_last_message () is the closest equivalent to what I'd use ("mysql_error()"). Use it instead of your hardcoded die message to find out more about why the connection is failing. e.g. "...or die ( mssql_get_last_message ());". (BTW, you do know for sure that your PHP build included support for MSSQL functions, right?) -- CC

« previous php.db (#4433) next »