I am having a problem with integrating FCKeditor into my CMS. It shows up on the page just fine and I can put data into my database just fine with it. However, when I try to edit it, it get an undefined index error for my field name. The field name is correct from the database. For some reason it is not calling my information from the database so I can edit it. I can overwrite but I can't edit it. This is how I have set it up. I don't know why it doesn't recognize page_content on the Value line.
Any suggestions would be appreciated.
<?php
include_once("fckeditor/fckeditor.php");
$sBasePath = "fckeditor/";
$oFCKeditor = new FCKeditor('page_content');
$oFCKeditor->BasePath = $sBasePath;
$oFCKeditor->sValue = stripslashes( $_POST[ 'page_content' ] );
$oFCKeditor->Width = '600';
$oFCKeditor->Height = '300';
$oFCKeditor->ToolbarSet = 'Custom';
$oFCKeditor->Create();
?>
Thanks,
Any suggestions would be appreciated.
<?php
include_once("fckeditor/fckeditor.php");
$sBasePath = "fckeditor/";
$oFCKeditor = new FCKeditor('page_content');
$oFCKeditor->BasePath = $sBasePath;
$oFCKeditor->sValue = stripslashes( $_POST[ 'page_content' ] );
$oFCKeditor->Width = '600';
$oFCKeditor->Height = '300';
$oFCKeditor->ToolbarSet = 'Custom';
$oFCKeditor->Create();
?>
Thanks,