Re: html code blocks
| From: | Brad Sacks | Date: | Wed, 23 Aug 2000 21:35:53 +0000 |
| Subject: | Re: html code blocks | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13228@lists.php.net to get a copy of this message | ||
YES, That is so cool. I am really happy about that. I have been strugling to
get my company to accept php as a viable development tool. This info helps a
lot.
Monte Ohrt wrote:
> Yes, check this manual page:
>
>
> http://www.php.net/manual/control-structures.alternative-syntax.php
>
> Brad Sacks wrote:
> >
> > I have been exposed to a lot of asp in the last few months and there is
> > a cool thing that it can do. That is get around echo (response.write)
> > statements, like this;
> > <% if blah then%>
> >
> > <html code block>
> >
> > <%else if blah%>
> >
> > <html code block>
> >
> > <%end if%>
> >
> > asp will actually load the html inside the condition statement that is
> > met and ignore the rest. Of coarse asp has a lot of other things that
> > suck, but this is cool. I am pretty new to both asp and php, but can php
> > do this?. Does it work the same way?
> >
> > --
> > 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
>
> --
> Monte Ohrt <monte@ispi.net>
> http://www.ispi.net/
>
> --
> 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