in reply to Somethings not rightwith my MySQL do()
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Somethings not rightwith my MySQL do()
by andrew (Acolyte) on Jul 20, 2002 at 01:51 UTC |
In Section
Seekers of Perl Wisdom