MDB_Common::numRows()

MDB_Common::numRows() – get number of rows

Synopsis

require_once 'MDB.php';

integer numRows ( resource $result )

Description

Get the number of rows in a result set.

Parameter

resource $result

a valid resource returned by query() or executeQuery()

Return value

integer - number of rows

Note

This function can not be called statically.

get number of columns (Previous) prepares a SQL statement (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.