私の問題は、私がブログを作りたいということです。私はコーディングに本当に新しいので、私はあまり良くありません。私の主な問題は、HTMLファイルのテキスト領域からPHPファイルにコードを送信することです。このファイルは修正する方法がわからないことがあります。 (あなたがものを書く)blog.htmlファイルのhtmlファイルのテキスト領域から別のphpファイルにデータを転送
this is a image of the file where someone types their blog it is a html file.
this is the image of the storage place or where all the blogs will be put. It is a phpfile
コード格納領域のための
<!DOCTYPE html>
\t \t <body>
\t \t <h2 style="background-color:blue;color:white">
\t \t TheBlog
\t \t </h2>
\t </head></font>
\t \t \t <p> <center><h5 style="background-color:blue;color:white">
\t \t \t This is where you can type the text!</p>
\t \t \t </h5></center> \t
\t \t \t <form action="Storage-Area-For-Blog.php" method="post">
\t \t \t <textarea name="txtcomment" cols="160" rows="40"></textarea>
<input type="submit" value="Publish">
<input type="reset" name="Clear">
</form>
\t <h5><ul>
\t \t \t <li><a href="Blog-Homepage.html">Home</a></li>
\t \t \t <li><a href="Blog-Creating-Process.html">Creation Process</a></li>
\t \t </ul></h5>
\t \t </body>-->
</html> \t
コード
<!DOCTYPE html>
\t <body>
\t \t <?php echo $_POST['txtcomment']; ?>
\t </body>
</html>
これは、HTMLフォーム101であるあなたがしたいこといくつかのチュートリアルを取ってください。 –
質問を編集して_directly_コードを質問に追加してください。スクリーンショットは検索可能ではなく、コピーできず、アクセシビリティが貧弱です。 – Chris