Re: [PHP Template] Request for comments - nested sections/looping/padding
[email protected] (Andrei Zmievski) Wed, 1 Mar 2000 12:05:52 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
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. *