Show code in php

  •  09-11-2010, 5:29 AM

    Show code in php

    Hello,

    I have a problem.
    I take the code in my php:

    <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;
           $editor->Draw();

    $content .= '</p></div>';
    ?>

    But the editor is shown over the "headline".

    Have you any ideas to show the editor in the DIV ?

    Thank you so much for help! 
    Mathias
     
    -------------------------------------------------------------
    (edit: i post the completly 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;
           $editor->Draw();

    $content .= '</p></div>';

    echo $content;
    ?>
     
    Does anyone have any idea?
     
View Complete Thread