Inserts a row into a table in the connected database
public InsertRow ( string $tableName, array $valuesArray ) : integer | ||
$tableName | string | The name of the table |
$valuesArray | array | An associative array containing the column names as keys and values as data. The values must be SQL ready (i.e. quotes around strings, formatted dates, ect) |
Результат | integer | Returns last insert ID on success or FALSE on failure |