Please Help With PHP Code For HTML5 Contact

I am new to HTML5 and please i want you to help me with a PHP code for HTML5 contact form.
Here’s the code below:

 <form id="contact-form">
                            <div class="success">Contact form submitted!<br>
                                <strong>We will be in touch soon.</strong>
                                <label class="name">
                                    <input type="text" value="Name:">
                                    <span class="error">*This is not a valid name.</span>
                                    <span class="empty">*This field is required.</span>
                                <label class="email">
                                    <input type="email" value="E-mail:">
                                    <span class="error">*This is not a valid email address.</span>
                                    <span class="empty">*This field is required.</span>
								<label class="name">
                                    <input type="text" value="Phone Number:">

                                <label class="message">
                                    <span class="error">*The message is too short.</span>
                                    <span class="empty">*This field is required.</span>
                                <div class="form_buttons">
                                    <a class="btn" href="#" data-type="submit"><strong>submit</strong></a>

Thank You Very Much.

@ediko; you will have to explain what you want a little clearer.
The processing side of the form after it is submitted will not have changed from HTML4, it still uses the ‘name’ of the element in the POST array.

What do you need clarification of?

Looks like you’re missing the name attribute. e.g. name=“Name”, name=“Email” etc on each of those input fields.

You are also missing a PHP script, as well as the action=“” part of the form tag.

Please i need a PHP code for this form that will enable email to be sent through the form. Thanks

This is a discussion forum, rather than a service center. What have you learned about PHP mail sending so far? What have you tried. There are lots of tutorials online, and lots of free form scripts around (hint—look down).

So what is discussion all about? Isn’t about to share knowledge and ideas?

Of course! But “please do the work for me” is not sharing ideas. :wink: