Re: dynamic code
| From: | Alex Black | Date: | Thu, 11 Jan 2001 02:20:48 +0000 |
| Subject: | Re: dynamic code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33877@lists.php.net to get a copy of this message | ||
why would you want to do that?
can you give me a little more detail about the application?
-alex
--
Alex Black, Head Monkey
enigma@turingstudio.com
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
> From: samuel.luescher@ch.mullermartini.com ("Luescher Samuel (MMVZSLU)")
> Newsgroups: php.general
> Date: 5 Jan 2001 02:19:03 -0800
> Subject: [PHP] dynamic code
>
> imagine having a database to which chunks of php code (among plain text) are
> submitted. how can i actually read this code from the database and then
> execute it within one script?
> the main problem is that i want to output plain text/html mixed with php.
> say, i have a field in my database containing html docs that can optionally
> contain php code. in this case, eval($body) produces parsing errors. do i
> have to parse them myself first and alternately eval() the php parts?
>
> tia, sam
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>