RE: [PHP-WIN] how to execute PHP code on the fly
| From: | Ignatius Teo | Date: | Thu, 22 Feb 2001 23:02:37 +0000 |
| Subject: | RE: [PHP-WIN] how to execute PHP code on the fly | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5705@lists.php.net to get a copy of this message | ||
Hi Doug,
use (the dreaded) eval()
Ignatius
> -----Original Message-----
> From: Doug Brewer [mailto:dbrewer@insightpd.com]
> Sent: Friday, 23 February 2001 05:02
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] how to execute PHP code on the fly
>
>
> I am storing html fragments in mysql. The html has PHP in it. Here's
> the problem: The text that is pulled out isn't "executed" as it is
> returned. I can still see all the various php bits, in other words.
>
>
> Is there a command to allow PHP to execute all the php code in a
> string?
>
> Thanks,
>
> DB
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>