in reply to My DBI suddenly can't handle placeholders in a LIMIT clause.
It was as though the DBD was interpreting "0" as a string rather than as a number.
As you have found, binding specific column/data types to each placeholder fixes the problem, and, as a bonus, adds a safety check to the data going to your DB.
Clint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: My DBI suddenly can't handle placeholders in a LIMIT clause.
by erroneousBollock (Curate) on Aug 10, 2007 at 08:45 UTC |