<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
</head>
<body>
<form action="http://localhost/project_php/3.php" method="POST">
<p>
<label for="text">제목 : </label>
<input type="text" id="text" name="title" />
</p>
<p>
<label for="main_text">본문 : </label>
<textarea
name=""
id="main_text"
cols="30"
rows="5"
name="description"
></textarea>
</p>
<input type="submit" />
</form>
</body>
</html>
<?php
echo $_POST['title'];
echo "<br />";
echo $_POST['description'];
?>