I found a closed bug report for this same issue and I wanted to open a new report as this issue appears unresolved. The PHP ODBC function odbc_num_rows() always returns 0 for all update, insert and delete queries. This only applies to the Firebird ODBC driver. The standard and PDO PHP extensions return affected rows as expected.
Submitted by: MT Jordan (mtjo62)
Attachments: test_firebird_odbc_aff_rows.php
I found a closed bug report for this same issue and I wanted to open a new report as this issue appears unresolved. The PHP ODBC function odbc_num_rows() always returns 0 for all update, insert and delete queries. This only applies to the Firebird ODBC driver. The standard and PDO PHP extensions return affected rows as expected.