Re: tag content
| From: | Steve Nelson | Date: | Thu, 09 Nov 2000 18:50:07 +0000 |
| Subject: | Re: tag content | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24537@lists.php.net to get a copy of this message | ||
excellent, i'll give that a shot.
Thanks joe!
Steve Nelson
http://www.SecretAgents.com
Tools for Fusebox Developers
Joe Stump wrote:
>
> This is how I do it:
>
> $FONTS['body'] = '<FONT COLOR="red">';
>
> Or just a bunch of HTML in a varible:
>
> $foo = 'a bunch of html - still have to escape \'s';
>
> Or just in a function:
>
> function bodycontent(){
> ?>
>
> <a href="http://www.yahoo.com">Yahoo!</a>
>
> <?
> }
>
> --Joe
>
> On Thu, Nov 09, 2000 at 01:38:09PM -0500, 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
> ================================================================================
> = Joe Stump joestump98@yahoo.com
> http://www.miester.org =
> ================================================================================
> "Real programmers don't comment their code.
> It was hard to write, it should be hard to understand."
>
> --
> 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
--