Re: Conditional code execution

From: Date: Mon, 26 Jan 2004 16:11:21 +0000
Subject: Re: Conditional code execution
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175769@lists.php.net to get a copy of this message
At 17:03 26-1-04, you wrote:
I'm sure how to frame the question. Here's the problem. I would like to store PHP code in a database. Then I would like to while-loop through the array executing the code something like this: <? while($RS=mysql_fetch_array($RR)) { execute $RS["php_code"]; } ?> This would require something like the equivalent of eval in javascript. Does PHP have that capability?
yeah it's called..... eval ! LOL

« previous php.general (#175769) next »