aquariuz wrote:
>
> Hi,
> Is it possible to execute PHP stored in a MySQL-database?
> If so, how to do it?
>
> In the example below I store "Hello world!<BR>" in a database, and next I
> echo it. "Hello world!" is printed on the screen.
>
> But how to
> * store PHP-code in a database
> * and execute it?
>
>
> ...
Use eval().
http://www.php.net/manual/en/function.eval.php
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]