Re: Getting Started - reated a CuteEditor class object?

  •  02-18-2009, 3:47 PM

    Re: Getting Started - reated a CuteEditor class object?

    1. <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>   
    2. <html>       
    3.     <head>   
    4.     </head>   
    5.      <body>   
    6.     <form name="theForm" action="/Get_HtmlContent.php" method="post">   
    7.         <div align="center">   
    8.           
    9.           <?php   
    10.                 $editor=new CuteEditor();   
    11.                 $editor->ID="Editor1";   
    12.                 $editor->Text="Hello World";        
    13.                 $editor->FilesPath="CuteEditor_Files";   
    14.                 $editor->Draw();   
    15.                 $editor=null;   
    16.                    
    17.                 //use $_POST["Editor1"]to catch the data    
    18.             ?>   
    19.         </div>   
    20.         </form>   
    21.     </body>   
    22. </html>  
    In this a simple page which contains Cute Editor.
     
    Line 1: include the CuteEditor class file.
    Line 9-18: create a new CuteEditor class object
     
    If you have any further questions with the above file, please let me know.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread