Martin Bower wrote:
The parser module works fine,  but the final string contains
WHERE date = "$today_date"
instead of
WHERE date = "2003-09-22"

any ideas ?

Use placeholders? See the bind_param part of the DBI doc. (That way you don't need to substitute in the variable, but pass it to DBI when you execute & it'll be dropped in).


Cheers

ti




Reply via email to