Hi everyone
I am having troubles with trying to get customisation. The last time I used this was when it was called FCKeditor and to customise it it was pretty simple.
I have added CKeditor like this
I have a mysql database which stores pg_info and ckeditor pulls the info from there easily.
I can edit and update to the database via this code
So that is just basic how my page is working
now my problem is it just comes as a blank box without any menu toolbars etc
I have tried changing it many ways .. via config.js , in-page via <script> </script> tags , editing the core files but no luck
can someone show me an example that will work with php?
Thanks for reading
I am having troubles with trying to get customisation. The last time I used this was when it was called FCKeditor and to customise it it was pretty simple.
I have added CKeditor like this
$CKEditor = new CKEditor('CKEditor1' );
$CKEditor -> editor("CKEditor1", $row_rsPage['pg_info']);
?>I have a mysql database which stores pg_info and ckeditor pulls the info from there easily.
I can edit and update to the database via this code
$Value = stripslashes ($_POST['CKEditor1']);
GetSQLValueString($Value, "text"),
So that is just basic how my page is working
now my problem is it just comes as a blank box without any menu toolbars etc
I have tried changing it many ways .. via config.js , in-page via <script> </script> tags , editing the core files but no luck
can someone show me an example that will work with php?
Thanks for reading

Re: CKEditor and PHP
http://cksource.com/forums/viewtopic.php?f=6&t=22587
Re: CKEditor and PHP
I hope you can help me. I want to import an utf-8 html string from mysql into the form. But I get only the first letter. Out of the textarea-tag the string "$chtml" appears completely in the source code.
I installed ckeditor and implemented it like this:
<head> <script type="text/javascript" src="../ckeditor/ckeditor.js"></script> <script type="text/javascript"> window.onload = function() { CKEDITOR.replace( 'editor1' ); }; </script> </head> <body>. . . . <textarea id="editor1" name="editor1"><?php echo $chtml?></textarea> . </bodyMaybe you can tell me what I did wrong
thanks
M.S.