Dynamic PHP Execution
Posted by: jmhobbs
Posted on: 2006-04-30 03:15:00
I'm having a problem where I pull text from my DB. The text has html and php tags in it, nothing unusual.
So the issue is, I can't execute the PHP pulled from the DB.
What it boils down to is that a variable $content has the PHP in it and when I echo $content it doesn't run the PHP.
I can't find anything on the net or php.net about executing dynamicly (sp?) created PHP code, which I think is analagous to this situation. Maybe my google-fu is not strong enough. Anyway, if anyone has handled this kind of thing before I would appreciate the help.
www.velvetcache.org <- View source and search for a php tag to see what I mean.
Thanks,
John