search for: odbc_num_row

Displaying 1 result from an estimated 1 matches for "odbc_num_row".

Did you mean: odbc_num_rows
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...can help me understand why I am getting this strange behaivor. I am connecting to a MS SQL server from PHP by the ODBC module, I use unixODBC-2.2.9-1, freetds-0.63-1.2.el4.rf and php-4.3.9-3.9 all but the freetds package came with CentOS-4.2 + updates the problem is that I am getting -1 from the odbc_num_rows(); function, I search the net and it looks that this is a very common problem with MS SQL server and unix ODBC driver, but, my surprise came when I use the isql command (came with the unixODBC package) and the number of rows is returned correctly in the same machine and with the same query. the fo...