v5:reference:connection:recordcount
This is an old revision of the document!
recordCount
The function recordCount()
return the number of records returned by the last select statement, or -1 if the database driver does not support the operation.
Usage
/* * IBM DB2 database connection assumed */ $result = $db->Execute('SELECT * FROM act'); $recordCount = $db->recordCount();
v5/reference/connection/recordcount.1437799056.txt.gz · Last modified: 2017/04/21 11:33 (external edit)