Users fill the feedback form and send mails to us.
I wnat to ue php mail()
function.
please help how to use the php script? what are the things i need for that?
I am new to this, can you please help me?
My form code:
<form name="contact" method="post" action="sendmail.php" enctype="multipart/form-data" onsubmit="return checkForm(this);">
<table style="width:100%;height:40px;"><tr><td align="right"><span id="error" style="color:#FF0000;"> </span></td></tr></table>
<label><span>First Name:</span><input type="text" name="fname" id="fname"/></label>
<label><span>Last Name:</span><input type="text" name="lname"/></label>
<label><span>Email Address:</span><input type="text" name="email"/></label>
<label><span>Phone No. :</span><input type="text" name="phone"/></label>
<label class="last"><span>Feedback :</span><textarea name="message" cols="" rows=""></textarea></label>
<label class="btnsub"><input name="" type="submit" title="submit" class="submission"/></label>
</form>