Re: Implement PHP within a string

From: Date: Fri, 26 Jul 2002 12:26:36 +0000
Subject: Re: Implement PHP within a string
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-109700@lists.php.net to get a copy of this message
Thanks, for the help, that worked out great. I was looking under all the string functions I could think of to do what I was looking for and didn't even think of doing eval. I am always greatful for the extra set of eyes this list provides. Josh > >Is it possible to run PHP that is embedded within a string? I have a file > >that is read into a string and returned to the browser, how can I run that > >PHP? > > > > Have a look at http://www.php.net/manual/en/function.eval.php > > Good luck > > René

« previous php.general (#109700) next »