Welcome to WebmasterWorld Guest from 220.127.116.11
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
Remember that php is a server-side language - when you print, you're just placing content into a document to transmit to a browser - the interpretor doesn't look at it.