Home » » How to use fckeditor in php

How to use fckeditor in php

Written By Unknown on Senin, 13 Desember 2010 | 04.40

To use fckeditor in your webpage. Download it from given address. Include the fckeditor.php file in your webpage where you want to include fckeditor interface. and simply type the given code in the form.

When you submit the form the data would be stored in "fieldname" variable in this given code. You can customize the toolbars by editing fckeditor/fckconfig.js file

Download fckeditor from  http://sourceforge.net/projects/fckeditor/files/FCKeditor/2.6.6/FCKeditor_2.6.6.zip/download

 <form method="post" name="ck">

<?php
BasePath = '/website/pathtofckeditor/';
$FCKeditor->Value = 'default value';
$FCKeditor->ToolbarSet = "MyToolbar";
$FCKeditor->Width = '600px';
$FCKeditor->Height = '200px';
$FCKeditor->Create();
?>

<input type="submit" name="submit" value="Submit" />
</form>


Your value will be stored in 'fieldname' variable
Share this article :

Posting Komentar

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Kumpulan Kata Broadcast Blackberry - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger