Answer the question
In order to leave comments, you need to log in
How to send form data to mail using PHPMailer?
There is a form in which the user enters a name and phone number. You need to send this data from the form to the mail via PHPMailer. Thanks in advance!
<form method="post" action="action.php" >
<input type="text" name="nameplace" class="form-control" id="exampleInputName2" placeholder="Введите ваше имя">
<input type="text" name="phonenumber" class="form-control" id="exampleInputName2" placeholder="Введите ваш телефон">
<button type="submit" name="submit" id="zakaz" class="btn btn-success">Оформить заказ</button>
</form>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question