good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: execute failed: called with 2 bind variables when 0 are neededby ig (Vicar) |
on Dec 11, 2013 at 00:49 UTC ( [id://1066532]=note: print w/replies, xml ) | Need Help?? |
To put it another way, change $sth->execute(1, 10); to $sth->execute(); and your SQL statement will run as is (assuming your database has the queried table and fields).
In Section
Seekers of Perl Wisdom
|
|