in reply to Template Toolkit and DBI Changing Table Name by Variable

From what I can tell from reading the docs,
[% FOREACH fone = DBI.query("SELECT * FROM $tablename") %]

Replies are listed 'Best First'.
Re^2: Template Toolkit and DBI Changing Table Name by Variable
by seekperlwisdom (Acolyte) on Nov 28, 2009 at 18:30 UTC
    thanks ' and " does make a big differnce i need to go back to LEARNING PERL again thanks
      You were executing a line of TT code, not a line of Perl code. Perl's rules don't apply. (Although Perl does the same thing here.)