October 2nd, 2000, 05:15 AM
is this possible at all? would make
things a lot more flexible but i
don't know if this is parsed at all
after getting some html code from
a mysql blob.
any feedback appreciated,
October 2nd, 2000, 06:08 AM
October 2nd, 2000, 06:37 AM
You can store HTML in a blob, but not PHP because it won't get parsed. How about saving it to a file and including it?
October 2nd, 2000, 07:50 AM
I take that back, use the eval() statement.
eval($string) evaluates $string as a PHP code.
If you want to include PHP and HTML in the string variable, you'll have to provide a closing php tag, because eval() starts off in PHP mode
Hope that helps, refer to the manual if you have anymore questions.