JavaScript Editor Javascript debugger     Website design 

sqlite_num_fields

Returns the number of fields in a result set (PHP 5, PECL sqlite:1.0-1.0.3)
int sqlite_num_fields ( resource result )

Object oriented style (method):

SQLiteResult {
  int numFields();
}
SQLiteUnbuffered {
  int numFields();
}

Returns the number of fields in the result set.

Parameters

result

The SQLite result resource. This parameter is not required when using the object-oriented method.