Thread HTML::Template Loop in Loop (2 answers)
Opened by tomlong at 2004-03-03 22:06

tomlong
 2004-03-03 22:06
#1398 #1398
User since
2003-08-04
93 Artikel
BenutzerIn
[default_avatar]
Heyho!

Ich hab gerade das Problem, dass ich in ein Template, welches ich mit HTML::Template fülle und ausgebe, ein Loop in einem Loop brauche ... ist sowas überhaupt möglich?
also mit einem Konstrukt
Code: (dl )
1
2
3
4
5
6
<TMPL_LOOP NAME="MAINLOOP">
<b><TMPL_VAR NAME="MAIN"></b><br>
<TMPL_LOOP NAME="SUBLOOP">
<TMPL_VAR NAME="SUBS"><br>
</TMPL_LOOP>
</TMPL_LOOP>

funktioniert es leider nicht oder könnte ich da was beim "füllen" des Templates falsch gemacht haben?

Greetz, Tom
Live long and prosper!
42;

View full thread HTML::Template Loop in Loop