title: get content of wysiwyg editor and send it to html
body: <p>I am messing around with WYSIWYG-Editors and would like to get the current content of it with php and append it to html or lets say a <code>&lt;p&gt;</code>.
  I have to say that I am a PHP-beginner, but i've figured out how to get the content of a <code>.txt</code> and <code>echo</code> it to my html.</p>
  
  <pre><code>&lt;?php
      $textfile = "text.txt";
      $text = file($textfile);
      echo $text 
  ?&gt;
  </code></pre>
  
  <p>very simple. But there must be a possibility to "replace" the <code>text.txt</code> with a wysiwyg-editor.</p>
  
  <p>Does anyone of you have a hint, i would really appreciate that.</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit:</strong> In Detail that means, i have a website <code>index.html</code>, with some text-content. I don't want to use a <code>CMS</code> but kind of a other html which can the user access <code>textedit.html</code> and type some sentences in a <code>WYSIWYG</code> editor like <code>CK-Editor</code> or <code>TinyMCE</code>. <code>textedit.html</code> accesses the <code>index.html</code> and changes a defined <code>&lt;p&gt;</code> tag.</p>