Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.