Re: Parse PHP inside a variable

From: Date: Thu, 21 Jun 2001 05:20:05 +0000
Subject: Re: Parse PHP inside a variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54665@lists.php.net to get a copy of this message
Claus Heiko Niesen pressed the little lettered thingies in this order... > Hello > > 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? > > Checkout eval() http://www.php.net/manual/en/function.eval.php The second user contributed note contains an example of how to do this. Good luck... Christopher Ostmo a.k.a. tech@AppIdeas.com AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/

« previous php.general (#54665) next »