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.... Quote Link to comment 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. Quote Link to comment 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..) Quote Link to comment 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> Quote Link to comment Share on other sites More sharing options...
lathifmca Posted February 3, 2010 Author Share Posted February 3, 2010 thanks mapleleaf, now works fine.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.