Home -> FCKeditor -> CKeditor Demo (Modify page php code):


CKeditor Demo : Modify page , php HTML Code:

<?php
$text="<p>&nbsp;asdfa<strong>sdf as</strong>d asd<u> asd a</u>sdf<em> asdf </em>dsa&nbsp;</p>";
?>

<form method="POST" action="fckeditor_266_modify2.php" >
<?php if(get_magic_quotes_gpc()){$text2 = htmlspecialchars( stripslashes( $text ) ) ;}else{$nr = htmlspecialchars( $text ) ;}?>
<input type="hidden" id="FCKeditor1" name="FCKeditor1" value="<?php echo $text2;?>" style="display:none" />
<input type="hidden" id="FCKeditor1___Config" value="AutoDetectLanguage=false&DefaultLanguage=en&SkinPath=/fckeditor_266/editor/skins/silver/" style="display:none" />
<iframe id="FCKeditor1___Frame" src="/fckeditor_266/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default" width="90%" height="300" frameborder="0" scrolling="no"></iframe>
<input type="hidden" name="do" value="up" />
<input type="submit" name="Submit" value="Modify">
</form>