odbc_num_rows
odbc_num_rows
Number of rows in a result
int **odbc_num_rows** Odbc\Result $statement
Gets the number of rows in a result. For INSERT, UPDATE and DELETE
statements returns the number of rows
affected. For a SELECT clause this be the number
of rows available.
odbc_num_rowscan
statement
odbc.result.object returned by .
odbc_exec
Returns the number of rows in an ODBC result. This function will return -1 on error.
Opmerking: > Using to determine the number of rows available after a SELECT will return -1 with many drivers.
odbc_num_rows