HTML <h1>Задайте свой вопрос юристу онлайн</h1> <form action="хххх.php" method="POST" > // write link to url for php <p>Введите свой вопрос <input type="text" name="reg_text" style="width: 80%; height: 20%;"></p> <p>Введите свою почту <input type="text" name="reg_text1" ></p> <input type="submit" name="send_reg" "> </form> PHP файл по url выше <p>Отправлено. я напишу вам в ближайшее время!</p> <?php $amount = htmlspecialchars($_POST["reg_text"]); $amount1 = htmlspecialchars($_POST["reg_text1"]); $_POST = $amount.$amount1; mail("ххх@gmail.com", "вопрос", $_POST); // write mail ?>