test

‘;
$allowedTags.=’

      • ‘;
        // Should use some proper HTML filtering here.
        if($_POST[‘elm1’]!=”) {
        $sHeader = ‘

        Ah, content is king.

        ‘;
        $sContent = strip_tags(stripslashes($_POST[‘elm1’]),$allowedTags);
        } else {
        $sHeader = ‘

        Nothing submitted yet

        ‘;
        $sContent = ‘

        Start typing…

        ‘;
        $sContent.= ‘


        }
        ?>

        My test editor – with tinyMCE and PHP

        Sample using TinyMCE and PHP

        <?php echo $sContent;?>