> [% FOREACH result = DBI.query('SELECT DATE_FORMAT(now(), \'%M %d\') as now')
> %]
> Time is [% result.now %]
> [% END %]


Got it working, thanks. But now i have another question. Let's say i 
want to make this query:

SELECT * FROM table WHERE type = ? AND headline LIKE '%?%'

Then hows this correctly accomplished? I can use two '?'s just fine but 
Plugin::DBI doesn't seem to find this last '?' between '%'s. Now what?

Rgds,
Viljo




Reply via email to