Re: tag content

From: Date: Thu, 09 Nov 2000 21:28:23 +0000
Subject: Re: tag content
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24548@lists.php.net to get a copy of this message
$bodycontent = <<<BLAH <font color="red">some html here</font> BLAH; 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 >

« previous php.general (#24548) next »