Re: Conditional code execution
| From: | Craig Jackson | Date: | Mon, 26 Jan 2004 16:51:34 +0000 |
| Subject: | Re: Conditional code execution | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175780@lists.php.net to get a copy of this message | ||
On Mon, 2004-01-26 at 10:11, Chris Hayes wrote:
> 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
Haha, buddies. Joke's on me. Sorry for the waste of time. %)