MSSQL
| From: | Andreas Pucko | Date: | Mon, 14 May 2001 22:19:03 +0000 |
| Subject: | MSSQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52751@lists.php.net to get a copy of this message | ||
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