Re: templates with php

From: Date: Tue, 01 Aug 2000 05:50:41 +0000
Subject: Re: templates with php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-9354@lists.php.net to get a copy of this message
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@keithdevens.com> To: php-general <php-general@lists.php.net> 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@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#9354) next »