in reply to Re^3: How to use template toolkit variable in a template toolkit mysql query
in thread How to use template toolkit variable in a template toolkit mysql query
I had tried this previously but did not use double quotes - duhhhhhhhhh :-|. Thanks alot you guys.[% FOR row IN rows %] [% query_str = "SELECT * FROM contacts WHERE account_code = ${row.acco +unt_code}" %] [% END %]
|
|---|