Re: [PHP Template] Request for comments - nested sections/looping/padding
| From: | Andrei Zmievski | Date: | Wed, 01 Mar 2000 18:05:52 +0000 |
| Subject: | Re: [PHP Template] Request for comments - nested sections/looping/padding | ||
| References: | 1 2 3 4 5 6 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-291@lists.php.net to get a copy of this message | ||
On Wed, 01 Mar 2000, Monte Ohrt wrote:
> > > I like the second one, and make pad="" default if the pad
> > > attribute is not given.
> >
> > What if you want to pad with the last value of the variable?
> >
>
> pad=#LAST
So, you're saying #LAST would be an internal variable. In that case, let
me ask you, what does it evaluate to outside the pad= attribute? What if
you do:
{{ if #LAST }}
Makes no sense.
-Andrei
* Power corrupts. Atomic power corrupts atomically. *