Date: 11/14/00
- Next message: phobo: "Re: [PHP-DB] I'm curious and baffled."
- Previous message: Sergio: "Re: [PHP-DB] PHP 4.0.3pl1 and Oracle 8i Release 2 v.8.1.6 for Linux"
- In reply to: Scott Fletcher: "[PHP-DB] I'm curious and baffled."
- Next in thread: phobo: "Re: [PHP-DB] I'm curious and baffled."
- Reply: phobo: "Re: [PHP-DB] I'm curious and baffled."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <8urqgh$7c6$1 <email protected>>, scott <email protected> ("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-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: phobo: "Re: [PHP-DB] I'm curious and baffled."
- Previous message: Sergio: "Re: [PHP-DB] PHP 4.0.3pl1 and Oracle 8i Release 2 v.8.1.6 for Linux"
- In reply to: Scott Fletcher: "[PHP-DB] I'm curious and baffled."
- Next in thread: phobo: "Re: [PHP-DB] I'm curious and baffled."
- Reply: phobo: "Re: [PHP-DB] I'm curious and baffled."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

