CI_DB_result::row()

row([$n = 0[, $type = 'object']])

Parameters:
  • $n (int) – Index of the query results row to be returned
  • $type (string) – Type of the requested result - array, object, or class name
Returns:

The requested row or NULL if it doesn’t exist

Return type:

mixed

A wrapper for the row_array(), row_object() and ``custom_row_object() methods.

Usage: see Result Rows.

doc_CodeIgniter
2016-10-15 16:31:26
Comments
Leave a Comment

Please login to continue.