sqlite_num_rows SQLiteResult::numRows Returns the number of rows in a buffered result set &reftitle.description; intsqlite_num_rows resourceresult &style.oop; (method): intSQLiteResult::numRows Returns the number of rows in the buffered result set. &reftitle.parameters; result The SQLite result resource. This parameter is not required when using the object-oriented method. &sqlite.no-unbuffered; &reftitle.returnvalues; Returns the number of rows, as an integer. &reftitle.examples; Procedural example ]]> Object-oriented example query("SELECT * FROM mytable WHERE name='John Doe'"); $rows = $result->numRows(); echo "Number of rows: $rows"; ?> ]]> &reftitle.seealso; sqlite_changes sqlite_query sqlite_num_fields