Re: html code blocks
| From: | Monte Ohrt | Date: | Wed, 23 Aug 2000 21:33:09 +0000 |
| Subject: | Re: html code blocks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13226@lists.php.net to get a copy of this message | ||
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/