
click to enlarge
In a small "paragraph" of code, you can implement TinyMCE using PHP. The main thing to keep in mind is the JavaScript implementation. To initialize TinyMCE, you call
tinyMCE.Init in your javascript code. There are many variables which govern how the editor will look like. Generally, you want to link the content to a variable which counts as part of your $_POST contents. This variable will be labeled in the "elements" variable of TinyMCE. For example, if your variable is "elem", then you will initialize TinyMCE including the following phrase: "elements : 'elem'". Calling tinyMCE.Init() should include an array of variables detailing how you want TinyMCE to behave and look like. For more information, see
this page in the TinyMCE Wiki.