RE: [PHP-WIN] how to execute PHP code on the fly
| From: | Boget, Chris | Date: | Thu, 22 Feb 2001 17:58:43 +0000 |
| Subject: | RE: [PHP-WIN] how to execute PHP code on the fly | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5700@lists.php.net to get a copy of this message | ||
> 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?
check out eval();
Chris