database with php code
| From: | Sergio Mergen | Date: | Fri, 07 Dec 2001 19:39:27 +0000 |
| Subject: | database with php code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77072@lists.php.net to get a copy of this message | ||
Hello
in my database i have records that contain php code.
i want to put these content on a php file.
Here´s the problem:
Suppose the content returned from the Db is:
$codeFromDB = "<?do some processing?>";
if i do:
echo $codeFromDB;
i´d be writing the content to the returned html file, bu i´d like
the content to be processed by php. I suppose "echo" is not the way to do it..
So.... what can i do??
thanks for your time
Sérgio Mergen
Web developer VIAVALE Internet