Jason Miller
1 year ago

simple #HTML rendered in #PHP

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