The problem I encountered is this: I have a MySQL table containing detailed information about the contents of the page that I want to display on my site. However, the content for one of my pages I wanted to contain some actual PHP code that must be executed, and not just printed as a string. For instance:
require_once("Class.php");
Class::Function("Some Text For a Parameter");
I want this code to be somehow executed when the SQL query is returned, but since it is standing, it just prints this text. Is there any way to achieve what I want?
Thank you in advance for your time,
Hi,
Stephen.
source
share