Is it possible to print some php into a page header in the same way that we can print html or xml?
In a content management system the user has the ability to create pages, they populate the content, the page title, meta data, and advanced users have the option to write some php which can be included with the rest of the php code in the page. All of which is stored in the database
Before declaring a doctype on the front end there are a number of php functions to gather the content for a specified page, which is then printed in the required area, wether that is in meta content or between the body tags.
Back to the original question then -
before I close my php and declare the page doctype, how do I print any additional php that may be in the DB for this page
// IMPORTED CODE ////////////////////////////////////////////
print '?><?php '.$gotContent['CODE'].'?><?php ';
but I then see this code instead of it being absorbed as part of the php