Re: [PHP Template] Re: if statements

[email protected] (Monte Ohrt)
Newsgroups php.template
Organization ispi
Message-ID <[email protected]>
Andrei Zmievski wrote:
> 
> On Tue, 15 Feb 2000, Sanford Redlich wrote:
> > My 1 cent:
> >
> > I'm in favor of some form of if statements, for the extra flexibility as
> > below. I think designers could handle the structure and would appreciate
> > the control they'd gain over what text and format shows in cases like this
> > (e.g., if you wanted a single match in bright red for some reason).
> 
> What do you think about using embedded PHP code for 'if' statements?
> 
> -Andrei
> * All of the above is my opinion, unless specified otherwise. *

IF statements are very handy for the designer, they are always in need
of dynamic elements in a page. Otherwise they'd need to go back to the
developer every time they needed to add/change something.

But what about beyond IF statements? SWITCH/CASE, FOR loops, etc? Is it
just as easy to allow imbedded php code? In our experience with
SmartTemplate for our own applications, the IF statement ability covers
most everything the designer needs.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.