Can I pass in a variable as the placeholder? I read in the DBI plugin docs 
that you can do something like this:

[% query = DBI.prepare('SELECT * FROM users WHERE uid = ?') %]

[% FOREACH user = query.execute('sam') %]
       ...
[% END %]

What I would like to do is pass a variable to the query.execute statement. 
If that is possible.

Robert
 




_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to