PHP tags in a MySQL echo
| From: | Adam Alkins | Date: | Tue, 09 Apr 2002 23:53:48 +0000 |
| Subject: | PHP tags in a MySQL echo | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18369@lists.php.net to get a copy of this message | ||
Hello Everyone,
I'm currently working on a simple template system, where, all the html
and few php tags are called from a database so I can easily update the site
content via a form, e.t.c., that works fine. However, when I echo the text,
the html/php, the php tags to not process. I figure the PHP server is not
treating the text as PHP code but regular text, because its just simple
lines which include() other php files.
Is there any way to work around this and get it to treat all the echoed rows
as PHP not just only text?
Adam