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

From: Date: Thu, 01 Mar 2001 15:09:34 +0000
Subject: Running php code inside of a string within a php script..
Groups: php.general 
Request: Send a blank email to php-general+get-42348@lists.php.net to get a copy of this message
Hello! I'm facing a problem. Inside of a php3 script - I have a string that contains html code as well as php3 code. At start, when I tried ECHOing the string to screen, the php commands weren't activated and viewing the source of the generated page allowed me to see that they were just left as they are, without any compilation. How can I make those php3 commands to work as they supposed to? Thank you in advance - Aviv Revach
    BRILLIANeT Website -
http://www.brillianet.com/

« previous php.general (#42348) next »