RE: [PHP] PHP code in a database

From: Date: Fri, 07 Jun 2002 16:55:35 +0000
Subject: RE: [PHP] PHP code in a database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101141@lists.php.net to get a copy of this message
This might be what you need. http://www.php.net/manual/en/function.eval.php -Jared -----Original Message----- From: Jean-Rene Cormier [mailto:jrclist@cipanb.ca] Sent: Friday, June 07, 2002 12:11 PM To: php-general@lists.php.net 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

« previous php.general (#101141) next »