insert() public method
Executes the INSERT command, returning primary key values.
| public array|false insert ( $table, $columns ) | ||
|---|---|---|
| $table | string |
The table that new rows will be inserted into. |
| $columns | array |
The column data (name => value) to be inserted into the table. |
| return | array|false |
Primary key values or false if the command fails |
Please login to continue.