Pear::DB tableInfo problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux