in reply to Template::Toolkit, DBI and mysql % wildcards

I'm probably just displaying my ignorance of TT, but I'd look for a percent sign followed by a single quote. The code you included doesn't have it, but that's what the error message says.

Caution: Contents may have been coded under pressure.
  • Comment on Re: Template::Toolkit, DBI and mysql % wildcards

Replies are listed 'Best First'.
Re^2: Template::Toolkit, DBI and mysql % wildcards
by bfdi533 (Friar) on Mar 14, 2006 at 20:34 UTC

    I updated the SQL query to be the same as the code producing the error with a 'adm%' in the query rather than '%adm'. However, that is the query I need to run and cannot, for the life of me, figure out how to get the template to allow the valid MySQL wildcard character in the query.