API16:JDatabaseQuery/insert
From Joomla! Documentation
<! removed transcluded page call, red link never existed >
Syntax
insert($tables)
| Parameter Name | Default Value | Description |
|---|---|---|
| $tables | A string or array of table names |
Defined in
libraries/joomla/database/databasequery.php
Importing
jimport( 'joomla.database.databasequery' );
Source Body
public function insert($tables)
{
$this->_type = 'insert';
$this->_insert = new JDatabaseQueryElement('INSERT INTO', $tables);
return $this;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples