Hope this solution will save you lots of time:
Using a HTML-document with more than one form and identical input names in forms and FCKeditor-object you will run in problems:
Don't work:
Try instead:
Have a great time!
Using a HTML-document with more than one form and identical input names in forms and FCKeditor-object you will run in problems:
Don't work:
<?php
// Editorfenster
include("FCKeditor/fckeditor.php");
?>
<html>
<head></head>
<body>
<form name="DataSend">
<input type="hidden" value="<?php echo $_REQUEST['text']; ?>" name="text">
<input type=submit value="save data">
</form>
<form name="DataShow">
<?php
$oFCKeditor = new FCKeditor('text');
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = $_REQUEST['text'];
$oFCKeditor->Width = '405' ;
$oFCKeditor->Height = '400' ;
$oFCKeditor->ToolbarSet = 'Baurat' ;
$oFCKeditor->Create();
?>
<input type="submit" value="show data">
</form>
</body>
</html>Try instead:
<?php
// Editorfenster
include("FCKeditor/fckeditor.php");
?>
<html>
<head></head>
<body>
<form name="DataSend">
<input type="hidden" value="<?php echo $_REQUEST['text_input']; ?>" name="text">
<input type=submit value="save data">
</form>
<form name="DataShow">
<?php
$oFCKeditor = new FCKeditor('text_input');
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = $_REQUEST['text_input'];
$oFCKeditor->Width = '405' ;
$oFCKeditor->Height = '400' ;
$oFCKeditor->ToolbarSet = 'Baurat' ;
$oFCKeditor->Create();
?>
<input type="submit" value="show data">
</form>
</body>
</html>Have a great time!
