1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Need help with the PHP code

Discussion in 'Web Development' started by Creativehead, Oct 21, 2015.

  1. Creativehead

    Creativehead New Member

    I purchased a web template which had the following code inserted for a contact page but it didnt not come with a PHP file to support it and I would like to avoid a "mailto" solution. Could someone help me with the PHP code?

    <div class="col-sm-6 col-md-6">
    <form id="contactform" class="form-box register-form contact-form" method="POST">
    <h3 class="title">Quick Contact</h3>
    <div id="success"></div>
    <label>Name: <span class="required">*</span></label>
    <input class="form-control" type="text" name="name">
    <label>Email Address: <span class="required">*</span></label>
    <input class="form-control" type="email" name="email">
    <label>Telephone:</label>
    <input class="form-control" type="text" name="phone">
    <label>Comment: <span class="required">*</span></label>
    <textarea class="form-control" name="comment"></textarea>
    <div class="clearfix"></div>
    <div class="buttons-box clearfix">
    <button id="submit" class="btn btn-default">Submit</button>
    <span class="required"><b>*</b> Required Field</span>
    </div><!-- .buttons-box -->
    </form>
    </div>

    Your help will be greatly appreciated