Dear forum users,
I have a very important question:
How do i get the fckEditor in a php function?
I have do it, but it doesn't work, i place the code right under this line of text:
<?php
function edit_large()
{
require_once("editor/fckeditor.php");
global $oFCKeditor;
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->Width = '40%';
$oFCKeditor->BasePath = 'editor/';
$oFCKeditor->Value = 'Default text in editor';
$oFCKeditor->Create();
return $oFCKeditor;
}
?>
Re: How to get the fckEditor in a function [PHP 5.0/4.0]
I'm sorry for this bump, but you can delete this topic. Because it is now succesfully done