function db_insert


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 db_insert($table, array $options = array())
cle7 db_insert($table, array $options = array())
elmsmedia7 db_insert($table, array $options = array())
icor7 db_insert($table, array $options = array())
meedjum_blog7 db_insert($table, array $options = array())
mooc7 db_insert($table, array $options = array())

Returns a new InsertQuery object for the active database.


$table: The table into which to insert.

$options: An array of options to control how the query operates.

Return value

InsertQuery A new InsertQuery object for this connection.

Related topics

157 calls to db_insert()
accessibility_reporting_report in sites/all/modules/ulmus/accessibility/modules/accessibility_reporting/accessibility_reporting.module
Report callback. Stores posted data to accessibility_reporting table.
actions_synchronize in includes/
Synchronizes actions that are provided by modules in hook_action_info().
advanced_help_update_index in sites/all/modules/ulmus/advanced_help/advanced_help.module
Implements hook_update_index().
aggregator_categorize_items_submit in modules/aggregator/
Form submission handler for aggregator_categorize_items().
aggregator_save_category in modules/aggregator/aggregator.module
Adds/edits/deletes aggregator categories.

... See full list


includes/database/, line 2423
Core systems for the database layer.


function db_insert($table, array $options = array()) {
  if (empty($options['target']) || $options['target'] == 'slave') {
    $options['target'] = 'default';
  return Database::getConnection($options['target'])->insert($table, $options);



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.