Hi all,
I know this has probably been asked here before, but I have searched and cannot find the answer.
All my data is stored in a database and while I have no problem adding text in a textfield using FCKEditor, I can't figure out how to edit a textfield.
My code to add text is:
<?php $oFCKeditor = new FCKeditor('shortdescription') ; $oFCKeditor->BasePath = 'FCKeditor/'; $oFCKeditor->Value = ''; $oFCKeditor->Create() ; ?>
Please tell me how to edit text. I know I need to add FCKeditor to the textarea on the edit page, but how do I display the existing text in the textarea?
Thanks in advance,
Joe.
I know this has probably been asked here before, but I have searched and cannot find the answer.
All my data is stored in a database and while I have no problem adding text in a textfield using FCKEditor, I can't figure out how to edit a textfield.
My code to add text is:
<?php $oFCKeditor = new FCKeditor('shortdescription') ; $oFCKeditor->BasePath = 'FCKeditor/'; $oFCKeditor->Value = ''; $oFCKeditor->Create() ; ?>
Please tell me how to edit text. I know I need to add FCKeditor to the textarea on the edit page, but how do I display the existing text in the textarea?
Thanks in advance,
Joe.