note 15007 added to function.include.php

From: Date: Fri, 24 Aug 2001 03:12:10 +0000
Subject: note 15007 added to function.include.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17058@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.. http://www.php.net/manual/en/function.include.php

« previous php.notes (#17058) next »