Luodeni Posted March 25, 2009 Share Posted March 25, 2009 hey everyone. I just started out using FCKeditor for PHP and it works relly nice. Just I wonder how to get my data back from a dubmit like i'd normally do with text field or whatever. but once i write <?php $oFCKeditor->Value = echo $_POST['otherjobinfo']; ?> it returns to me with a parse error. Does anyone know why? any help would be really appreciated Link to comment https://forums.phpfreaks.com/topic/151071-fckeditor-returning-_postvalue/ Share on other sites More sharing options...
ToonMariner Posted March 28, 2009 Share Posted March 28, 2009 you use fckeditor to replace a textarea with the editor... simply use $_POST['XXX'] where XXX is the name or id of the textarea you have tol dfck editor to 'replace'. Link to comment https://forums.phpfreaks.com/topic/151071-fckeditor-returning-_postvalue/#findComment-795872 Share on other sites More sharing options...
chetanrakesh Posted May 1, 2009 Share Posted May 1, 2009 Hi, Try below code. $oFCKeditor = new FCKeditor("otherjobinfo") ; // name of text area to replace $oFCKeditor->ToolbarSet = "Default" ; $oFCKeditor->BasePath = "FCKeditor/"; $oFCKeditor->Height = "300"; if ($_POST['otherjobinfo']!="") { $oFCKeditor->Value = $_POST['otherjobinfo']; } $oFCKeditor->Create() ; Thanks, Rakesh. Link to comment https://forums.phpfreaks.com/topic/151071-fckeditor-returning-_postvalue/#findComment-823358 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.