Transfer data from text area in an html file to another php file
<p>My problem is that I want to make a blog. I am really new to coding so I'm not very good. My main issue is sending code from the text area in the html file to the PHP file which I don't even know how to fix.</p>

<p><a href="https://i.stack.imgur.com/NECxz.png" rel="nofollow noreferrer">this is a image of the file where someone types their blog it is a html file.</a></p>

<p><a href="https://i.stack.imgur.com/IqVvw.png" rel="nofollow noreferrer">this is the image of the storage place or where all the blogs will be put. It is a phpfile</a></p>

<p>Code for blog.html file (where you write the stuff)</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;body&gt;
  &lt;h2 style="background-color:blue;color:white"&gt;
  TheBlog
  &lt;/h2&gt;
 &lt;/head&gt;&lt;/font&gt;
   &lt;p&gt; &lt;center&gt;&lt;h5 style="background-color:blue;color:white"&gt;
   This is where you can type the text!&lt;/p&gt;
   &lt;/h5&gt;&lt;/center&gt; 
    &lt;form action="Storage-Area-For-Blog.php" method="post"&gt; 
   &lt;textarea name="txtcomment" cols="160" rows="40"&gt;&lt;/textarea&gt;
    &lt;input type="submit" value="Publish"&gt;  
    &lt;input type="reset" name="Clear"&gt;
    &lt;/form&gt;
 &lt;h5&gt;&lt;ul&gt;
   &lt;li&gt;&lt;a href="Blog-Homepage.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="Blog-Creating-Process.html"&gt;Creation Process&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;&lt;/h5&gt;
  &lt;/body&gt;--&gt;
&lt;/html&gt; </code></pre>
</div>
</div>
</p>

<p>code for storage area</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
 &lt;body&gt;
  &lt;?php echo $_POST['txtcomment']; ?&gt;
 &lt;/body&gt;
&lt;/html&gt;</code></pre>
</div>
</div>
</p>