I created form and want into to send mail to my mail when a user submit a request. I found a php script which suites my form and its working fine with other form, but when I try to use that script for my form its not working as expected. This is my form in html-
<form action="contact.php" method="post" name="form1">
<div class="form-group">
<input type="text" class="form-control" id="Name" placeholder="Name*" name="name">
</div>
<div class="form-group">
<input type="phone" class="form-control" id="Phone" placeholder="Phone*" name="phone">
</div>
<div class="form-group">
<input type="text" class="form-control" id="Address" placeholder="Full Address*" name="address">
</div>
<div class="form-group">
<textarea class="form-control" rows="3" placeholder="Order - List Outlets and Meals*" name="order"></textarea>
</div>
<div class="form-group">
<label><input style="vertical-align: center;"type="checkbox" /> Accept the <a class="" data-toggle="modal" data-target="#myModal">Terms & Conditions</a>
</label>
</div>
<a href="contact.php" class="btn-block">ORDER!</a>
</form>
and this is my php script- here