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
<?php
include("fckeditor.php");
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
$oFCKeditor = new FCKeditor('FCKeditor') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = $ing ;
$oFCKeditor->Create() ;
?>
<html>
<head>
<title>Editor</title>
</head>
<body>
<form name="frmedit" id = "frmedit" method="post" enctype="multipart/form-data">
Title : <input type="text" name="txttitle" id = "txttitle">
<br>
<br>
<input type="submit" name="subsubmit" id="subsubmit" value="SUBMIT">
</form>
</body>
</html>
<?php
if($_POST["subsubmit"]=="SUBMIT"){
$part2 = $_POST["FCKeditor"];
echo $part2;
}
?>