I brought a website template off line. it came with a contact form that i have know idea how to edit it. here is the code please help i just want the message to go straight to my email when the user pushes send.
Thanks in advance i been online for hours trying to get help.
someone said put my email address in the action part of the script but that didn't work.
Everybody php code and form i tried to follow isnt basic like mines. so i get confused. on how to set of the php page for this simply contact form.
1.
<h2>Contact Form</h2>
2.
<div class="wrapper margin-bot">
3.
<div class="col-3">
4.
5.
<div class<form id="contact-form" action="" method="post" enctype="multipart/form-data">
6.
<fieldset>
7.
<label><span class="text-form">Name:</span><input name="p1" type="text" /></label>
8.
<label><span class="text-form">Email:</span><input name="p2" type="text" /></label>
9.
<div class="wrapper"><div class="text-form">Message:</div><textarea></textarea></div>
10.
<div class="buttons">
11.
<a class="button-2" href="#" onClick="document.getElementById('contact-form').reset()">Clear</a>
12.
<a class="button-2" href="#" onClick="document.getElementById('contact-form').submit()">Send</a>
13.
</div>
14.
</fieldset>
15.
</form>
16.
</div>