Re: [phplib] Conditional blocks From: Kristian Koehntopp (kris <email protected>)
Date: 07/20/00

In netuse.lists.phplib you write:
>I really like your implementation of templates in PHP.
>Incredibly useful. Unfortunately, I felt it was missing a
>feature - conditional blocks.

"Conditionals" are part of your programming language. You
already own one, called PHP. If you want a conditional, set a
field of an arbitrary name into desired the position in your
template, and then set_val() it to "" or the desired value.

Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>