Having Problems with HTML inside Editor - Please Help

  •  03-26-2009, 6:03 PM

    Having Problems with HTML inside Editor - Please Help

    Basically what's happening is that I am trying to use the editor to add stuff through PHP into a MySQL database and edit it afterwards. When I edit it instead of showing Rich Text Like Bold - it shows <strong>Bold</strong> on Normal view.
     
     The REMOVE ALL HTML TAGS button does not work. I have attached a screenshot and the code.
     
    CODE USING TO ADD:

                 <?php
                       $editor=new CuteEditor();
                       $editor->ID="PageText";
                       $editor->Text="";
                       $editor->FilesPath="CuteEditor_Files";
                       $editor->Draw();
                       $editor=null;

                       //use $_POST["NewsText"]to catch the data
                ?>
    CODE USING TO EDIT:
     
                 <?php
                       $editor=new CuteEditor();
                       $editor->ID="PageText";
                       $editor->Text="$PageText";
                       $editor->FilesPath="CuteEditor_Files";
                       $editor->Draw();
                       $editor=null;

                       //use $_POST["NewsText"]to catch the data
                ?>
     
    I cannot edit pages normally. What am I missing? I  need the HTML to be gone when I edit and the CLEAN UP BUTTON that looks like a brush doesn't do it. Here is the front end - http://tucsonchargers.com/calendar.html
     
     
     
     

View Complete Thread