php-db | 2004071
Date: 07/14/04
- Next message: Justin Palmer: "[PHP-DB] Hold System"
- Previous message: Damien Babilon: "[PHP-DB] Debian & mssql_init"
- In reply to: Damien Babilon: "[PHP-DB] Debian & mssql_init"
- Next in thread: Frank M. Kromann: "Re: [PHP-DB] Re: Debian & mssql_init"
- Maybe reply: Frank M. Kromann: "Re: [PHP-DB] Re: Debian & mssql_init"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Damien Babilon" <damien <email protected>> wrote in message
news:200407140815.AA245367106 <email protected>
> 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
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Justin Palmer: "[PHP-DB] Hold System"
- Previous message: Damien Babilon: "[PHP-DB] Debian & mssql_init"
- In reply to: Damien Babilon: "[PHP-DB] Debian & mssql_init"
- Next in thread: Frank M. Kromann: "Re: [PHP-DB] Re: Debian & mssql_init"
- Maybe reply: Frank M. Kromann: "Re: [PHP-DB] Re: Debian & mssql_init"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

