in reply to Re: execute failed: called with 2 bind variables when 0 are needed
in thread execute failed: called with 2 bind variables when 0 are needed
change $sth->execute(1, 10); to $sth->execute();
Please don't. Placeholders prevent SQL injections and allow caching of prepared statements, so:
More information: DBI, Bobby Tables, Re: Counting rows Sqlite, Re^2: Massive Memory Leak, Re^5: Variable interpolation in a file to be read in.
Alexander
|
|---|