Forum Moderators: coopster
The basic structure of my code is like this:
<?
$content = generate_user_content();
echo $content;
?>
$content would be created by a function that retrieves the content from a database, basically just HTML.
My question is that if I want to retrieve and execute PHP code from the database instead of interpreting it as HTML how would I do it?
Thanks for everyone's help as usual.
the use the following:
eval($content);
see:
[uk2.php.net...]