How can i save the tinyMCE editor content to mysql
<p>I am using tinyMCE editor to create posts in my app,once i format text and text alignments, create post or update post i need to click save. and when i click save, the tinyMCE content should get saved to mysql database. how can i do that with php?</p>

<pre><code>  tinymce.init({
    entity_encoding : "raw",
    selector: '#mytextarea',
    plugins: "table print textcolor colorpicker anchor link searchreplace media emoticons lists visualblocks preview wordcount hr contextmenu",
    mediaembed_service_url: 'SERVICE_URL',
    mediaembed_max_width: 450,
    toolbar: "save print forecolor backcolor anchor link searchreplace emoticons visualblocks preview",
  });
</code></pre>

<p>HTML code</p>

<pre><code>&lt;form method="post"&gt;
            &lt;label name="post-title" for="post-title"&gt;Post title&lt;/label&gt;
            &lt;input type="text" name="post-title" id="post-title"&gt;&lt;br&gt;                   
            &lt;label name="post-content" for="post-title"&gt;Post Content&lt;/label&gt;
            &lt;textarea id="mytextarea"&gt;&lt;/textarea&gt;
            &lt;br&gt;&lt;br&gt;            
            &lt;!-- &lt;input type="submit" class="btn btn-beautuful-blue" name="submit" value="CREATE POST"&gt; --&gt;
        &lt;/form&gt;
</code></pre>