What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Need help with PHP

n1ck0las86

New member
Hi Everyone,

I have created a form, I need help with the PHP getting it to send an email when you click submit

<div class="container">
<div id="central">
<div class="content">
<h1>Contact Form</h1>
<p>Send your comments through this form and we will get back to
you.</p>
<div id="message">
<form id="frmContact" name="frmContact" action="" method="POST"
novalidate="novalidate">
<div class="label">Name:</div>
<div class="field">
<input type="text" id="pp-name" name="name"
placeholder="enter your name here" title="Please enter your name"
class="required" aria-required="true" required>
</div>
<div class="label">Email:</div>
<div class="field">
<input type="text" id="pp-email" name="email"
placeholder="enter your email address here"
title="Please enter your email address" class="required email"
aria-required="true" required>
</div>
<div class="label">Phone Number:</div>
<div class="field">
<input type="text" id="pp-phone" name="phone"
placeholder="enter your phone number here"
title="Please enter your phone number" class="required phone"
aria-required="true" required>
</div>
<div class="label">Message:</div>
<div class="field">
<textarea id="about-project" name="message"
placeholder="enter your message here"></textarea>
</div>
<div id="mail-status"></div>
<input type="submit" name="submit" value="Send Message"
id="send-message" style="clear: both;">
</form>
</div>

Can anybody help with the PHP code to get this to work?
 
Back
Top