Re: Show code in php

  •  09-13-2010, 2:49 PM

    Re: Show code in php

    Dear korty,
     
    Please try the following code:
    <?php  include_once("cuteeditor_files/include_CuteEditor.php");  
    $content = '<div><p>headline</p>
    <p>';
           $editor=new CuteEditor();
           $editor->ID="text";
           $editor->Text="";
           $editor->EditorBodyStyle="font:normal 12px arial;";
           $editor->EditorWysiwygModeCss="php.css";
           $editor->AutoConfigure = "Simple";
           $editor->ThemeType = "Office2003";
           $editor->Height = 250;
           $content .=$editor->GetString();
           $content .= '</p></div>';
           echo $content;
    ?> 
    Thank you for asking
View Complete Thread