While I build a web page in My PHP web application, My Connection works ok but When I want to get the count of rows of the SELECT Statement I used in my query, It gives me -
in php.net:
The easy way to count the rows in an odbc resultset where the driver returns -1 is to let SQL do the work: