note 15007 rejected and deleted from function.include.php by jmcastagnetto

From: Date: Fri, 24 Aug 2001 04:26:32 +0000
Subject: note 15007 rejected and deleted from function.include.php by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-17059@lists.php.net to get a copy of this message
Is is possible to include the result of a MySQL query? Let's say I have a database full of snippets of code to execute, could I call one with a php mysql command and then include the result? The only way to this that ive thought of would be to make a seccond php page that querys the database and then simply prints out the resulting code. Then I include the aformentioned php page. There should be a better way..

« previous php.notes (#17059) next »