Can you specify the OS you are running this on and the version of PHP you
are running. What it looks like is that the extension is not installed.
Thanks,
Brandon
-----Original Message-----
From: Andreas Pucko [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 3:19 PM
To: Php (E-mail)
Subject: [PHP] MSSQL
Hi there,
while tying to connect to a MSSQL DB I get the error message: call to
undefined function.
I thing my syntax is ok.
function pconnect_db()
{
if (!($link = mssql_pconnect ($DB_SERVER, $DB_LOGIN, $DB_PASSWORD))) {
printf("An SQL error has occured. Please contact our webmaster\n\n");
DisplayErrMsg(sprintf("internal error %d:%s\n",
mysql_errno(), mssql_error()));
exit() ;
}
return $link;
}
does anybody see the error?
Cheers Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]