How To Add FCKeditor using php

muellersfrind

New Member
i am new to this FCKeditor,i am using below mentioned code , i am formatting the text in the text editor and display the same text using the echo statement but it disply only the plain text(without formatting) how to i display the text with formated syntax. please guide me .thanks in advance\[code\] <?php include("fckeditor.php"); $sBasePath = $_SERVER['PHP_SELF'] ; $sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; $oFCKeditor = new FCKeditor('FCKeditor') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->Value = http://stackoverflow.com/questions/3649720/$ing ; $oFCKeditor->Create() ; ?><html> <head><title>Editor</title></head><body><form name="frmedit" id = "frmedit" method="post" enctype="multipart/form-data"> Title &nbsp;:&nbsp;<input type="text" name="txttitle" id = "txttitle"><br><br><input type="submit" name="subsubmit" id="subsubmit" value="http://stackoverflow.com/questions/3649720/SUBMIT"></form> </body></html><?phpif($_POST["subsubmit"]=="SUBMIT"){$part2 = $_POST["FCKeditor"];echo $part2;}?>\[/code\]
 
Top