• I have a form,made by html and php coding which have fourteen(14) fields.What i want is that when a user fill up the form and submit,all the field values will come to me and to the the user as a email notification.I have searched plugins for that but found nothing.Please help me.I am getting frustrated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • in code before submitting form write anything like this:

    <?php
    $to = “mymail@mail.com”;
    $subject = “All fields”;
    $message = ‘Field1: ‘.$field1.'<br>’.’Field2: ‘.$field2.'<br>’………………….’Field14: ‘.$field14.'<br>’
    $headers = “Content-type: text/html; \r\n”;
    mail($to, $subject, $message, $headers);
    ?>

    Thread Starter ppd1986

    (@ppd1986)

    In the ‘to’=mymail@mail.com will come to me or the administrator.but if i want that,the user will also get a same copy as a form submission message with all the fields,what i need to do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Email Notification for a new form made by html and php coding’ is closed to new replies.