Conditional code execution

From: Date: Mon, 26 Jan 2004 16:03:43 +0000
Subject: Conditional code execution
Groups: php.general 
Request: Send a blank email to php-general+get-175766@lists.php.net to get a copy of this message
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? Thanks Craig

« previous php.general (#175766) next »