RE: [PHP] Parse PHP inside a variable
| From: | James Atkinson | Date: | Thu, 21 Jun 2001 04:08:44 +0000 |
| Subject: | RE: [PHP] Parse PHP inside a variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54664@lists.php.net to get a copy of this message | ||
I'm in the same boat, I've tried eval() but it dosan't like mixing PHP and
HTML code...
I've tried the suggestions listed in the php.net manual too to no avail...
- James
> -----Original Message-----
> From: Lenar Lõhmus [mailto:lenar@dotcom.ee]
> Sent: June 20, 2001 3:01 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Parse PHP inside a variable
>
>
> maybe function eval()?
>
> lenar.
> "Claus Heiko Niesen" <cniesen@gmx.net> wrote in message
> news:5.1.0.14.2.20010620165136.00a68728@pop.gmx.net...
> > Hello
> >
> > I'm having a variable that contains HTML with embedded PHP code. When I
> > echo it then the PHP code does not get executed. Is there a way I can
> > parse/print the content of my variable?
> >
> > Thanks
> > Claus
> >
> >
> > --
> > 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