This might be what you need. http://www.php.net/manual/en/function.eval.php
-Jared -----Original Message----- From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 12:11 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP code in a database I'm trying to make a script that'll take some pages from a database but I want it to execute the PHP that's in the pages that it'll fetch from the database. Say it gets the data from the page in $data I want it to put the data on the screen and if there's some PHP code in the $data variable I want it to be executed. Is there a way I can do that? Jean-Rene Cormier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php