Hi Doug,
use (the dreaded) eval()
Ignatius
> -Original Message-
> From: Doug Brewer [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 23 February 2001 05:02
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] how to execute PHP code on the fly
>
>
> I am s
> 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
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
--