Runs an UPDATE query
static public update ( string $table, mixed $input, mixed $where ) : mixed | ||
$table | string | The table name |
$input | mixed | Either a key/value array or a valid MySQL insert string |
$where | mixed | Either a key/value array as AND connected where clause or a simple MySQL where clause string |
Результат | mixed | The number of affected rows or an error response |