Jump to content

FCKeditor returning $_post['value']


Luodeni

Recommended Posts

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

  • 1 month later...

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.