html5 contact form with PHP : <p>This is the HTML contact form I created and I have been trying to get the PHP code that will make it work however I am not sure the best way to handle this. I have read through other questions and answers where they use separate files I am not an expert in PHP but I can assume the two files must be linked by name this is the HTML form I have:</p>

<pre><code>&lt;section class="our-contacts slideanim" id="contact"&gt;
&lt;h3 class="text-center slideanim"&gt;Contact Us&lt;/h3&gt;
&lt;p class="text-center slideanim"&gt;Got a project in mind? Shoot as an email below!&lt;/p&gt;
&lt;div class="container"&gt;
    &lt;div class="row"&gt;
        &lt;div class="col-lg-12"&gt;
            &lt;form role="form"&gt;
                &lt;div class="row"&gt;
                    &lt;div class="form-group col-lg-4 slideanim"&gt;
                        &lt;input type="text" name="name" class="form-control user-name" placeholder="Your Name" required/&gt;
                    &lt;/div&gt;
                    &lt;div class="form-group col-lg-4 slideanim"&gt;
                        &lt;input type="email" name="email" class="form-control mail" placeholder="Your Email" required/&gt;
                    &lt;/div&gt;
                    &lt;div class="form-group col-lg-4 slideanim"&gt;
                        &lt;input type="tel" class="form-control pno" placeholder="Your Phone Number" required/&gt;
                    &lt;/div&gt;
                    &lt;div class="clearfix"&gt;&lt;/div&gt;
                    &lt;div class="form-group col-lg-12 slideanim"&gt;
                        &lt;textarea name="message" class="form-control" rows="6" placeholder="Your Message" required/&gt;                            &lt;/textarea&gt;
                    &lt;/div&gt;
                    &lt;div class="form-group col-lg-12 slideanim"&gt;
                        &lt;button type="submit" href="#" class="btn-outline1"&gt;Submit&lt;/button&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/form&gt;
        &lt;/div&gt;  
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p></p>
