hello, and merry chistmas !
i need some help with the following problem:
let's say i have a variable:
$content = '<html><head><title>test page</title></head><body class="body"></body></html>';
and i want to echo that, to generate some html page...
echo $content;
ofcourse i know i can't do that... first of all because of the slashes (instead of class="body", i must write class=\"body\"), but that is not a true problem, because php adds slashes automatically when it sees quotes...
but it seems that i can't echo a variable containing html code... why ?
and if you have some suggestions, or maybe alternatives to this problem...
i really need this to work, so any answer will be greatly appreciated...
thank you in advance.