RE: [PHP] Parse PHP inside a variable

From: Date: Thu, 21 Jun 2001 04:01:43 +0000
Subject: RE: [PHP] Parse PHP inside a variable
Groups: php.general 
Request: Send a blank email to php-general+get-54662@lists.php.net to get a copy of this message
> 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? eval(), though you might have to be careful if it's HTML and PHP. Jason

« previous php.general (#54662) next »