laziness, impatience, and hubris | |
PerlMonks |
Re: Somethings not rightwith my MySQL do()by gav^ (Curate) |
on Jul 20, 2002 at 01:45 UTC ( [id://183526]=note: print w/replies, xml ) | Need Help?? |
You've got the UPDATE syntax wrong, it should be like:
UPDATE category SET name = ?, view_cats_prod = 'yes' WHERE id = ? You should really test your SQL statements before you put them into your perl code. Documentation can be found (for mysql) here.
In Section
Seekers of Perl Wisdom
|
|