Pear::DB tableInfo problem

From: Date: Mon, 21 Oct 2002 19:21:31 +0000
Subject: Pear::DB tableInfo problem
Groups: php.db 
Request: Send a blank email to php-db+get-22562@lists.php.net to get a copy of this message
Hi, I am running under Linux and using freetds to connect to a DB on MS SQL-Server. In general it works very well, except when I try to use the tableInfo() function to retrieve information from a result set as in: print_r($result->tableInfo()); The page aborts at this call. Using the Zend debugger I traced it down into the mssql.php file and I found that it breaks on the following line: $res[$i]['name'] = @mssql_field_name($id, $i); The error I see in the debuger is: Call to undefined function: mssql_field_name() What may the problem be? Is my installation broken? Am I missing some file or library? Thanks, Avi -- Avi Schwartz Universe-watching, like golf and aging, avi@CFFtechnologies.com promotes humility - William R. Everdell

« previous php.db (#22562) next »