Re: html code blocks
| From: | jeremy brand | Date: | Wed, 23 Aug 2000 21:32:06 +0000 |
| Subject: | Re: html code blocks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13224@lists.php.net to get a copy of this message | ||
Yes, the samy way. You can even configure php (in php.ini) to use the
ASP tags, thus leaving your psudecode below valid psudocode for php as
well.
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Wed, 23 Aug 2000, Brad Sacks wrote:
> Date: Wed, 23 Aug 2000 14:21:25 -0700
> From: Brad Sacks <brad@m29.com>
> To: php-general@lists.php.net
> Subject: [PHP] html code blocks
>
> 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
>
>