Im having a problem, and i cant find the solution because i really dont know the command for do it.
I have a DB with scripts. For example
Table: Test, Column: Script, Row: <?php something ?>
I want to run that PHP code. But if i do and echo display "<?php something ?>";
$query = "SELECT * FROM codes"; $result = mysql_fetch_array($query, MYSQL_ASSOC); echo $result['script'];
Where script = "<?php something ?>"
And echo return "<?php something ?>" as HTML
I want to Run <?php something ?>
How i can run that PHP code before the HTML?