(PHP4.2.1, Win2k, MSSQL 2K)
The result id returned from this function does not appear to behave exactly the same as a result id returned from a query.
I get all sorts of errors when I try to use subsequent odbc functions on the result id, such as:
odbc_fetch_into - This function only seems to work if I don't specify a row number or if the row number = 0.
odbc_fetch_row - This function will not return a row from the result set. Under some scenarios, I am able to use it in a while loop, but its seems buggy. Hence, my odbc_num_of_rows function (hack to replace the non-functional odbc_num_rows function) also doesn't work.
I recommend dumping the results into an array immediately and freeing the result id created by this function.
ps - If anyone has any further insight or workarounds, I would appreciate them.