Re: Code running function
| From: | Christopher Ostmo | Date: | Tue, 17 Jul 2001 19:02:48 +0000 |
| Subject: | Re: Code running function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58303@lists.php.net to get a copy of this message | ||
B R pressed the little lettered thingies in this order...
> I know there's a function that takes a string argument and runs it as PHP
> code. i.e. function_name('echo $variable;');
>
> I just can't remember what it is. Does any know?
>
Are you thinking of eval() ?
http://www.php.net/manual/en/function.eval.php
Christopher Ostmo
a.k.a. tech@AppIdeas.com
AppIdeas.com
Innovative Application Ideas
Meeting cutting edge dynamic
web site needs since the
dawn of Internet time (1995)
Business Applications:
http://www.AppIdeas.com/
Open Source Applications:
http://open.AppIdeas.com/