Page 1 of 1

Tiny MCE Help

Posted: Tue Feb 02, 2010 11:08 am
by lathifmca
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....

Re: Tiny MCE Help

Posted: Tue Feb 02, 2010 12:06 pm
by pickle
Submit the form TinyMCE is attached to & examine $_POST. You should see which post variable your content is placed in.

TinyMCE will automatically load the content inside the <div> or <textarea> to which it is attached. Just place it in the page with PHP before you load the page and TinyMCE should take care of everything else.

Re: Tiny MCE Help

Posted: Wed Feb 03, 2010 10:34 am
by lathifmca
thanks pickle,

now works fine