nvee Posted January 5, 2010 Share Posted January 5, 2010 I know this is not the forum for ckeditor, but that forum has nothing going on, and was hoping that someone here uses it and can help me with a very simple problem. I downloaded ckeditor, copied the files to my web location, also added a 1 line javacode in my head and then just the word class="ckeditor" in my textarea line of code. It works perfectly, it opens, types and stores the styling to the database without any problems. My question is, how do I insert content already stored in a database back into ckeditor for editing. I tried value="<?php echo $result["description"]; ?>(where $result is the mysql_fetch_array but the text area remains blank. Is there anoher way I am suppose to do it? The method above works for normal input fields, but not for ckeditor. If this fails, do you know of any other wysiwyg editors which is freeware and works better? Link to comment https://forums.phpfreaks.com/topic/187241-wysiwyg-editor/ Share on other sites More sharing options...
crabfinger Posted January 5, 2010 Share Posted January 5, 2010 This will never work <textarea value="Hello World!"></textarea> try this instead <textarea>Hello World</textarea> Link to comment https://forums.phpfreaks.com/topic/187241-wysiwyg-editor/#findComment-988798 Share on other sites More sharing options...
nvee Posted January 5, 2010 Author Share Posted January 5, 2010 legend! Thank you! Link to comment https://forums.phpfreaks.com/topic/187241-wysiwyg-editor/#findComment-988842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.