Hi everyone
Because of several recommendations from my friends I have downloaded FCKEditor for the use of editing the text on my homepage. My homepage is made in php and the content to news post and other stuff is stored in a mysql database, how do I use FCKEditor as as editor to this content so that i can write a text in FCKE and submit it for insertion into the database (after being processed by php?) and how is it possible to fetch some text that is supposed to be edited and insert it into the editor on startup so that it is ready to be edited?
By the way, Im using the php file that comes with FCKEditor - hope someone can assist me.
Yours faithfully
Christian Rasmussen, Denmark
Because of several recommendations from my friends I have downloaded FCKEditor for the use of editing the text on my homepage. My homepage is made in php and the content to news post and other stuff is stored in a mysql database, how do I use FCKEditor as as editor to this content so that i can write a text in FCKE and submit it for insertion into the database (after being processed by php?) and how is it possible to fetch some text that is supposed to be edited and insert it into the editor on startup so that it is ready to be edited?
By the way, Im using the php file that comes with FCKEditor - hope someone can assist me.
Yours faithfully
Christian Rasmussen, Denmark
RE: Submitting the text for insertion into db?
After submitting, the contents of the FCKeditor are in the PHP-variable:
$_POST['FCKeditorContents']
You can set the contents of the editor with:
$oFCKeditor->Value = "hello world" ;
while initialising the script as shown above.