Re: [PHP] templates with php From: Andrew (fisherres <email protected>)
Date: 08/01/00

Rasmus,

     Where might I find a list of these and more syntax structures that
you've mentioned e.g. <?=$title?>, <?loop("deidre")?>?

Thanks!

Andrew
digi-FX
-------------------------------
http://www.digi-FX.net
----- Original Message -----
From: Keith Devens <php <email protected>>
To: php-general <php-general <email protected>>
Sent: Monday, July 31, 2000 12:16 PM
Subject: Re: [PHP] templates with php

> > > Plus, template engines can have added features such as table building.
> > > Eg:
> > >
> > > <TABLE>
> > > <LOOP NAME="deidre">
> > > <TR><TD>{stuff}</TD></TR>
> > > </LOOP NAME="deidre">
> > > </TABLE>
> > >
> > > This could build an entire table with however many rows (dependent on
> > > whats in the array (or sql result set) $deidre), and the designers
still
> > > have full control on how the table looks. Not sure how you could do
this
> > > with your method (though I've not really thought about it that much
> > > :) ).
> >
> > <TABLE>
> > <?loop("deidre")?>
> > <TR><TD>whatever</TD></TR>
> > <?endloop("deidre")?>
> > </TABLE>
> >
> > Not very different at all.
> >
> > And I can guarantee you that this is faster.
> >
> > -Rasmus
>
> This is exactly what I was wondering about. How might this be implemented?
> How can one function start a loop and then another function end it?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>