Re: Running php code inside of a string within a php script..

From: Date: Thu, 01 Mar 2001 18:01:48 +0000
Subject: Re: Running php code inside of a string within a php script..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42371@lists.php.net to get a copy of this message
Hey! At 14:29 02/03/01 -0300, Lucas Persona wrote:
Hy there! Aviv Revach wrote: How can I make those php3 commands to work as they supposed to? Take a look at the eval() function http://www.php.net/manual/en/function.eval.php It does exactly what you are looking for...
Actually it doesn't. My string does not(!!) contains only php code. It contains HTML tags, text, and php code (called with <?php ?>). Now, What should I do in order to run both the html tags and the php commands in it? Thank you in advance - Aviv Revach
    BRILLIANeT Website -
http://www.brillianet.com/

« previous php.general (#42371) next »