Handy MYSQL insert operation
| Parameters | |||
|---|---|---|---|
string
|
$table |
The table name without prefix |
# |
array
|
$data = [] |
The array of data field names and values |
# |
boolean
|
$useSlug = true |
True to include the slug field or False to not exclude it |
# |
| Returns | |
|---|---|
mixed
|
Returns inserted id on success or FALSE on failure |