pull/210/head
David Goodwin 6 years ago
parent 1e158245d6
commit b1795ab596

@ -1866,8 +1866,8 @@ function db_delete($table, $where, $delete, $additionalwhere='') {
* Call: db_insert (string table, array values [, array timestamp]) * Call: db_insert (string table, array values [, array timestamp])
* *
* @param string - table name * @param string - table name
* @param array - key/value map of data to insert into the table. * @param array $values - key/value map of data to insert into the table.
* @param array (optional) - array of fields to set to now() - default: array('created', 'modified') * @param array $timestamp (optional) - array of fields to set to now() - default: array('created', 'modified')
* @return int - number of inserted rows * @return int - number of inserted rows
*/ */
function db_insert($table, $values, $timestamp = array('created', 'modified')) { function db_insert($table, $values, $timestamp = array('created', 'modified')) {

Loading…
Cancel
Save