lathifmca Posted February 2, 2010 Share Posted February 2, 2010 hi friends, i download the tinymce from net.. my tiny mce is works fine, no problem in that one.. now my problem is how to get the Contents from tinymce and how to insert the content to Database.. i know the javascript coding to getcontents from the tinymce.. but what i need is, how to get the contents from the tinymce and stored it in database using PHP... and need to do the concept viceversa, (i.e, get content from database and stored it in tinymce..) thanks in advance.... Link to comment https://forums.phpfreaks.com/topic/190685-tiny-mce-help/ Share on other sites More sharing options...
mapleleaf Posted February 2, 2010 Share Posted February 2, 2010 simply insert the $_POST['textareaname'] in the database. Is there something else that you mean? You might want the MYSQL forum. Link to comment https://forums.phpfreaks.com/topic/190685-tiny-mce-help/#findComment-1005615 Share on other sites More sharing options...
lathifmca Posted February 2, 2010 Author Share Posted February 2, 2010 thanks mapleleaf... thats working now.. but how to do the viceversa.. (i.e, getting from db and stored it in the tinymce..) Link to comment https://forums.phpfreaks.com/topic/190685-tiny-mce-help/#findComment-1005617 Share on other sites More sharing options...
mapleleaf Posted February 2, 2010 Share Posted February 2, 2010 <textarea name='whatever'><?php echo $row->whatever;?></textarea> Link to comment https://forums.phpfreaks.com/topic/190685-tiny-mce-help/#findComment-1005621 Share on other sites More sharing options...
lathifmca Posted February 3, 2010 Author Share Posted February 3, 2010 thanks mapleleaf, now works fine.. Link to comment https://forums.phpfreaks.com/topic/190685-tiny-mce-help/#findComment-1006198 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.