Re: Making PHP in real time ... !?
| From: | Heikki Korpela | Date: | Fri, 01 Sep 2000 17:58:00 +0000 |
| Subject: | Re: Making PHP in real time ... !? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14850@lists.php.net to get a copy of this message | ||
Hervé Piedvache wrote:
> I would like to know if somebody is able to tell me how, in a php code,
> to include datas (also in PHP code) from a database and to make this
> code immediatly interpreted by PHP ...
eval() will execute the code.
See
http://www.php.net/manual/function.eval.php
You might want to take a look at serialize(), too.
http://www.php.net/manual/function.serialize.php
--
| Heikki Korpela | heikki.korpela@wapit.com | tel. +358 50 3838 609 |
| Software Developer, Wapit Finland | http://www.wapit.com |
--
"Ain't working? It's already there, but it has not been tested."