Re: Debian & mssql_init

From: Date: Wed, 14 Jul 2004 15:57:36 +0000
Subject: Re: Debian & mssql_init
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-35242@lists.php.net to get a copy of this message
"Damien Babilon" <damien@nethings.net> wrote in message news:200407140815.AA245367106@nethings.net... > the mssql_connect function work right, but php give me back this message when I try mssql_init: > Fatal error: Call to undefined function: mssql_init() in /var/www/eurogsmtest/test.php on line XX Shouldn't you use mssql_init() in a mssql query, not in the body of the php script? I can't say that this works, but I'd go for something like: $link = mssql_connect; // This sets up your SQL link. $sql = "mssql_init()"; // This is the SQL command you'd like PHP to run for you $result = mssql_query($sql, $link); // If $result = FALSE, there was a problem. Otherwise, it worked. -P

« previous php.db (#35242) next »