Re: Parse PHP inside a variable
| From: | Claus Heiko Niesen | Date: | Thu, 21 Jun 2001 13:30:39 +0000 |
| Subject: | Re: Parse PHP inside a variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54734@lists.php.net to get a copy of this message | ||
At 12:20 AM 06/21/2001, Christopher Ostmo wrote:
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...Thank you for the quick response Christopher and Jason. The eval( "?>$string" ); is exactly what I was looking for. Claus