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 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

Reply via email to