Executing PHP commands saved in MySQL

-2

I would like to know how to save and execute PHP code saved in my MySQL database. I have already created a basic structure for the instruction register. My question is about how to handle the use of these codes. For example, I created an 'Instruction' table, containing the fields (ID, title, instructions). What is the best way to call these instructions?

    
asked by anonymous 21.03.2018 / 13:37

1 answer

0

>

$foo = "bar";
eval("echo $foo");
    
21.03.2018 / 14:23