Can you use placeholders when using the UPDATE statement? I have tried the following, however, it does not give an error nor does it update the table.
Code:
$sql = $dbh->prepare("UPDATE sometable SET (name, category) WHERE id=(?) VALUES (?,?)" , undef, $params{'name'}, $params{'category'});
$sql->execute($params{'id'});
$sql->finish();