RE: [PHP] including db content as part of script
| From: | Niklas Lampén | Date: | Thu, 27 Feb 2003 12:49:08 +0000 |
| Subject: | RE: [PHP] including db content as part of script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137376@lists.php.net to get a copy of this message | ||
Well, you could use temporary files for this. I've never done this by
myself, but I think it's worth giving a try. :)
Fetch the data from the database, write your code to temporary file and then
include this temporary file. After that you can destroy the temporary file.
Niklas
-----Original Message-----
From: Dennis Heuer [mailto:dh@onclick.org]
Sent: 27. helmikuuta 2003 14:29
To: php-general@lists.php.net
Subject: [PHP] including db content as part of script
Hello -
One single question. Is including() a script on runtime only possible with
files or can I include() code from a database?
greetings
Dennis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail. For
more information, connect to http://www.F-Secure.com/
###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/