Jason Miller
3 years ago

simple #HTML rendered in #PHP

                    function renderHtml($contentRenderer = null)
{
    echo "<!DOCTYPE HTML>n";
    echo '<html>';
    if ($contentRenderer) $contentRenderer();
    echo '</html>';
}