Cool. I didn't know that.

Does FastTemplate support nested loop and ifs?

Steve

At 5/1/2001 10:33 PM, Henning Kilset Pedersen wrote:
>Fasttemplate supports loops and if's.
>
>You set a dynamic block like so:
>
><!-- BEGIN DYNAMIC BLOCK : rowset -->
><TR>
>  {ROWCONTENT}
></TR>
><!-- END DYNAMIC BLOCK : rowset -->
>
>And then in the PHP code that parses this html template (.tpl, for example)
>file, you do a $tpl->assign (.ROWCONTENT, "rowdata");
>
>and loop over that. the .ROWCONTENT means that you're ADDING data to a
>variable that already exists. Replace "rowdata" with the data for the row in
>question.
>
>Isn't this what you want??


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to