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.
$sql = $dbh->prepare("UPDATE sometable SET (name, category) WHERE id=(?) VALUES (?,?)" , undef, $params{'name'}, $params{'category'})...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.