Need PHP file for a HTML contact form, Please Help! |
Need PHP file for a HTML contact form, Please Help! |
Eli M. |
Sep 25 2014, 08:02 AM
Post
#1
|
Group: Members Posts: 1 Joined: 25-September 14 Member No.: 21,599 |
I got this bootstrap template that came with a contact form. The contact form didn't come with a PHP file to make it work. Could any of you be amazing and please write me a php file for the form. I put the code for the form below.
Thanks, Eli M. CODE <div class="row"> <div class="col-lg-8"> <div class="boxed-grey"> <form id="contact-form"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="name"> Name</label> <input type="text" class="form-control" id="name" placeholder="Enter name" required="required" /> </div> <div class="form-group"> <label for="email"> Email Address</label> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span> </span> <input type="email" class="form-control" id="email" placeholder="Enter email" required="required" /></div> </div> <div class="form-group"> <label for="subject"> Subject</label> <select id="subject" name="subject" class="form-control" required="required"> <option value="na" selected="">Choose One:</option> <option value="service">Want to join</option> <option value="suggestions">Question</option> <option value="product">Just to say "Hola!"</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="name"> Message</label> <textarea name="message" id="message" class="form-control" rows="9" cols="25" required="required" placeholder="Message"></textarea> </div> </div> <div class="col-md-12"> <button type="submit" class="btn btn-skin pull-right" id="btnContactUs"> Send Message</button> </div> </div> </form> </div> </div> |
Frederiek |
Sep 25 2014, 10:24 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I'm afraid nobody here will write you a PHP file. We are all volunteers here.
But, you might try http://green-beast.com/gbcf-v3/ . |
CharlesEF |
Sep 25 2014, 03:17 PM
Post
#3
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Are you sure the PHP code is not at the top or bottom of the contact page? The <form> tag contains no action attribute therefore the page should submit to itself.
|
Christian J |
Sep 26 2014, 07:19 AM
Post
#4
|
. Group: WDG Moderators Posts: 9,661 Joined: 10-August 06 Member No.: 7 |
|
Lo-Fi Version | Time is now: 27th April 2024 - 09:47 PM |