Tiny MCE Help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lathifmca
Forum Newbie
Posts: 6
Joined: Wed Jan 27, 2010 10:56 am

Tiny MCE Help

Post 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....
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Tiny MCE Help

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
lathifmca
Forum Newbie
Posts: 6
Joined: Wed Jan 27, 2010 10:56 am

Re: Tiny MCE Help

Post by lathifmca »

thanks pickle,

now works fine
Post Reply