I have a simple PHP script that grabs some information from a table in MySQL. From this data from the table there is a PHP command with this data. But this PHP won't execute.
Is there any way of running a PHP line of code from a block of text that i have retrieved from the database?
Please Help, THanx
~ceavou~
http://www.php.net/manual/en/function.eval.php
Remember that eval() will execute the code much the same way that require() and include() do, it will run inside your script.
So if the eval'ed code contains 'exit;' your entire script will stop!