brandin Posted December 12, 2015 Share Posted December 12, 2015 Using this contact form, I need help with the PHP to make it work. I've tried using several other contact form templates and changing it to make it work with this form, without success. I'd really appreciate it if someone could help me out. Thanks.. http://www.w3schools.com/bootstrap/trybs_theme_band_full.htm#contact Link to comment Share on other sites More sharing options...
Ingolme Posted December 12, 2015 Share Posted December 12, 2015 What PHP code are you using? Link to comment Share on other sites More sharing options...
brandin Posted December 12, 2015 Author Share Posted December 12, 2015 (edited) The current page is here: http://neverthelessalwaysthemore.com/ I don't have any PHP at the moment, as I've deleted the template I had a few days ago, as it wasn't working anyway. Edited December 12, 2015 by brandin Link to comment Share on other sites More sharing options...
Ingolme Posted December 13, 2015 Share Posted December 13, 2015 The template only decides what the form looks like, not how it works. You need some PHP code to send the mail. Either PHP, or some other server-side language. W3Schools has a section about sending mail with PHP here: http://www.w3schools.com/php/php_ref_mail.asp You should already underatand PHP forms, superglobals and other features. Link to comment Share on other sites More sharing options...
john_jack Posted December 16, 2015 Share Posted December 16, 2015 (edited) i see that you got it to work! Goodjob you can use : header('Location: http://www.example.com/'); exit; intead of echo "Thank you for contacting us! Please use your browser's back button to return to the previous page."; so the user gets redirected automaticly . Edited December 16, 2015 by john_jack Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now