add("PHP HTML Module"); $head->add($title); $comment = new cls_comment(); $comment->add("This is an HTML comment."); $body->add($comment); $html->add($head); $html->add($body); $buffer = htmlspecialchars($html->generate()); echo $buffer; ?>