Jump to content

TELL YOUR FRIEND ABOUT US! - FORM


MARCELO
 Share

Recommended Posts

You need to create a program on the server-side that will take the form data and send an e-mail.

Here's the PHP tutorial for handling forms: https://www.w3schools.com/php/php_forms.asp

Here's the PHP tutorial for sending an e-mail: https://www.w3schools.com/php/func_mail_mail.asp

You have unnecessary Javascript on that page. Remove all of the content in the <script> tags and use <input type="submit"> instead of "button". The submit button will submit the form for you.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...