hi,

I have a database field that has a list of filenames (images) separated with 
comma’s. Haven’t been successful in showing that via TT. Is it better to create 
an array on another level or should something like this be possible?

[% PERL %]
  list = split (/,/, artikelen.photo) ;
  [% END %]
  [% FOREACH e IN list %]
  <img class="myfloater" src="[% request.uri_base %]/images/photo/[% e %]" 
alt="" />
  [% END %]

Thanks,
Gert
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to