Re: tag content
| From: | eschmid+sic at s dot netic dot de | Date: | Thu, 09 Nov 2000 20:40:23 +0000 |
| Subject: | Re: tag content | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24549@lists.php.net to get a copy of this message | ||
On Thu, Nov 09, 2000 at 01:28:23PM -0800, Rasmus Lerdorf wrote:
> $bodycontent = <<<BLAH
> <font color="red">some html here</font>
> BLAH;
With or without the semicolon? I remember that Lars Torben Wilson said
something that this is the documented version. But this is depending on
the PHP version.
-Egon
> On Thu, 9 Nov 2000, Steve Nelson wrote:
>
> > I'm new to this list, i come from a ColdFusion background. While I love
> > CF, I am trying to broaden my horizons and am digging into PHP.
> >
> > Anyway... There is one feature I use in ColdFusion's custom tags that I
> > can't figure out how it translates to PHP.
> >
> > <cf_bodycontent>
> > <font color="red">some html here</font>
> > </cf_bodycontent>
> >
> > That's a custom tag I created that grabs the text between tags and puts
> > it into a variable that I can use later. It's useful because I don't
> > have to escape the quotes or change anything in the HTML for that
> > matter.
> >
> > Is there a way to do this in PHP?
> >
> > Steve Nelson
> > http://www.SecretAgents.com
> > Tools for Fusebox Developers
> >
> > --
> > 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
> >
>
>
> --
> 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
>
--
--
http://www.linuxtag.de/
http://php.net/books.php
http://www.concert-band.de/