First, thanks for FCKEditor... it looks great! I am having a strange problem integrating it though.
The editor shows up, but with "undefined" as the document content. Now what's REALLY strange is if I output the contents of the editor outside of the table I get two editor instances - and both have the correct document content. Neither posts the data.
Can anyone tell me what I'm doing wrong?
Removing the comment line in the code below makes the document body appear in both places.
--- code segment ---
$contact = new FCKeditor ;
$contact->ToolbarSet='Basic';
$contact->Value = 'testing' ;
$tempstr=$contact->ReturnFCKeditor( 'contact', 500, 150 );
//print "\n\n\n\n".$tempstr."\n\n\n\n";
$screen = $screen." ".$tempstr."</TD></TR>"
The editor shows up, but with "undefined" as the document content. Now what's REALLY strange is if I output the contents of the editor outside of the table I get two editor instances - and both have the correct document content. Neither posts the data.
Can anyone tell me what I'm doing wrong?
Removing the comment line in the code below makes the document body appear in both places.
--- code segment ---
$contact = new FCKeditor ;
$contact->ToolbarSet='Basic';
$contact->Value = 'testing' ;
$tempstr=$contact->ReturnFCKeditor( 'contact', 500, 150 );
//print "\n\n\n\n".$tempstr."\n\n\n\n";
$screen = $screen." ".$tempstr."</TD></TR>"
RE: Odd PHP problem