insert() public method
Creates and executes an INSERT SQL statement.
The method will properly escape the column names, and bind the values to be inserted.
| public void 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. |
Please login to continue.