CI_DB_query_builder::insert()

insert([$table = ''[, $set = NULL[, $escape = NULL]]])

Parameters:
  • $table (string) – Table name
  • $set (array) – An associative array of field/value pairs
  • $escape (bool) – Whether to escape values and identifiers
Returns:

TRUE on success, FALSE on failure

Return type:

bool

Compiles and executes an INSERT statement.

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

Please login to continue.