RE: [PHP-DB] PHP in Database Fields..
| From: | Chris Barnes | Date: | Tue, 25 Jun 2002 11:18:28 +0000 |
| Subject: | RE: [PHP-DB] PHP in Database Fields.. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20086@lists.php.net to get a copy of this message | ||
eval() might do what your asking for.
I'm no expert tho.
-----Original Message-----
From: Matthew Tedder [mailto:matthew@tedder.com]
Sent: Tuesday, 25 June 2002 7:32 AM
To: php-db@lists.php.net
Subject: [PHP-DB] PHP in Database Fields..
Question:
I want to put PHP code into database fields holding HTML text, how can I
make it execute that PHP before sending to the browser??
Currently, I get the text from MySQL and print it.... The browser shows
the PHP code mixed into the HTML.
Matthew
--
Anything that can be logically explained, can be programmed.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php