hey I just downloaded FCK editor, and tried to integrate it into my page
however I get
Fatal error: Call to a member function CreateHtml() on a non-object in xxxxx\map\test.php on line 28
after submitting the form
my source code
<?php
include("./FCKeditor/fckeditor.php") ;
?>
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<?php
if(isset($_POST['FCKeditor1']))
{
echo "
<form action='test.php' method='post'>";
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = './FCKeditor/';
$oFCKeditor->Value = 'Default text in editor';
$oFCKeditor->Create() ;
echo" <br>
<input type='submit' value='Submit'>
</form>";
}
else
{
$output = $oFCKeditor->CreateHtml() ;
echo $output;
}
?>
</body>
</html>
do you have any solutions to this prbolem?
I did this according to the devguide
greeting Julius