I'm developing a site using PHP and mySQL. The page content is stored in mySQL. Up to now the content has been straight HTML. Now I'd like to store PHP code in the database and have it execute when retrieved. "Printing" the PHP code does not work.
Is there a way to execute PHP code that has been retrieved from a datbase the same way that PHP code that is "included" from files is executed?