running PHP code from a variable


I have a php page that pull info from a DB and generates a page. I want to include some PHP code as a field in the DB and have the page pull that field and then run the code.

Everything works fine (db calls, variable setting etc.) but I can’t figure out how I take the resulting variable and then include that code into the page for execution.

Sponsor our Newsletter | Privacy Policy | Terms of Service