S
S
Segan5652016-09-14 19:22:05
PHP
Segan565, 2016-09-14 19:22:05

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

1 answer(s)
A
Artem, 2016-09-14
@proudmore

www.sesmikcms.ru/pages/read/ischerpyvajuschaja-ins...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question