PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Get the number of rows in a result set.
Warnung |
For ibase, ifx and oci8, this method only works if the DB_PORTABILITY_NUMROWS portability option is enabled. In addition, for ibase and ifx, PEAR DB must be at version 1.7.0 or greater. Does not work for Microsoft Access. |
Tabelle 34-1. Mögliche Fehler-Arten
Error code | Error message | Reason | Solution |
---|---|---|---|
DB_ERROR_NOT_CAPABLE | DB backend not capable | Driver doesn't support this feature. | Either switch to another database system or enable the DB_PORTABILITY_NUMROWS portability option. |
Beispiel 34-1. Using numRows()
|
Zurück | Zum Anfang | Nach vorne |
DB_result::numCols() | Nach oben | DB_Error |