eval() might do what your asking for.
I'm no expert tho.

-----Original Message-----
From: Matthew Tedder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 25 June 2002 7:32 AM
To: [EMAIL PROTECTED]
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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to