On Thu, 09  Feb  2006,  11:33:32AM -0000ยจ, Martin J. Evans said:
> I think that wants to be 
> prepare(q/SELECT * FROM logs where datetime like ?/)
 
I had already tried that, it does not work either, but thanks anyway.

> i.e. no quotes around the ?. DBD::mysql is telling you there are no parameters
> in the query -> "called with 1 bind variables when 0 are needed"
> 
> However, you might have problems doing a like on datetime field.

yes, I can see that :). Oh, well, I'll just have to interpolate it,
never mind.
-- 
Groeten,
J.I.Asenjo

Reply via email to