I am using the TT book. On page 357, Example 9-1 it describes how to get a
product listing. My code follows that example:

[% USE DBI("dbi:Oracle:ELLTST", "*****", "*****") -%]

[% FOREACH user = DBI.query("SELECT surname, first_name FROM msf810")
-%]

    <tr><td>[% user.surname %]</td><td>[% user.first_name %]</td></tr>

[% END -%]

When I run this I get a bunch of table rows with no data in them (and there
is data there). Am I missing something (besides brains)?

Help!  :-)

Robert

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

Reply via email to