in reply to DBD:AnyData with TT

Erm.. I tend to get confused by TT's syntax, but shouldn't this
item.id; " has "; item.name;
be
%][% item.id %] has [% item.name %][%

Replies are listed 'Best First'.
Re^2: DBD:AnyData with TT
by artist (Parson) on Jun 15, 2006 at 19:14 UTC
    Thanks, but that should not be the issue. According to this message following code works fine.
    [% USE d = DBI(database = "dbi:AnyData:null", user = "", password = + ""); d.dbh.func("users", "Passwd", "/etc/passwd", "ad_catalog"); FOREACH user = d.query("SELECT username, homedir, GID FROM users +"); user.username; " has homedir of "; user.homedir; " and GID of "; user.GID; "\n"; END; %]
    --Artist