Hi,
I'm using FCK for the first time.
I try to integrate it into a PHP-page.
Like the docs says, i created a form to put fck code into it but I always get the error :
Should I make a link to the css file and to the fckconfig.js?
here is the code I use.
I don't see what I should do..
Thanks for tips....
I'm using FCK for the first time.
I try to integrate it into a PHP-page.
Like the docs says, i created a form to put fck code into it but I always get the error :
Fatal error: Cannot instantiate non-existent class: fckeditor in /var/www/vhosts/...../steptwo.php on line 50
Should I make a link to the css file and to the fckconfig.js?
here is the code I use.
<?php include_once("myroot/fckeditor/fckeditor.php") ; ?> some php code <form id="form1" name="form1" method="post" action=""> <?php $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = '' ; $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. Please enter the description here</p>' ; $oFCKeditor->Create() ; ?> </form>
I don't see what I should do..
Thanks for tips....