Making PHP in real time ... !?
| From: | Hervé Piedvache | Date: | Fri, 01 Sep 2000 17:54:08 +0000 |
| Subject: | Making PHP in real time ... !? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14848@lists.php.net to get a copy of this message | ||
Hi,
I would like to make some php code in real time, or read it from a
database ...
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 ...
Example :
<?
echo "my HTML Page<BR>";
// Access to the database to get the data needed (oracle in our case)
$mydata=('select phpcode from mytable where page=1');
// Then what can I do here to make interpreted my PHP code which is
inside $mydata ??
?>
Thanks for your help !
regards,
--
Hervé