Jump to content

odbc_num_rows


NightMonkey

Recommended Posts

Hi, I am trying to find out the number of rows there are in a record set that I have obtained from an odbc database. I have tried using the odbc_num_rows function but it always returns -1. I was told that this is a bug where its only returns the number of rows that have been accessed. If this is the case I could traverse every row in the record set counting the rows as I go but I was hoping there would be a simpler way of doing this. Can anyone offer any suggestions?

Thanks in advanced

Link to comment
https://forums.phpfreaks.com/topic/42560-odbc_num_rows/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.