This is the thing I have done it this way & it doesn't work the way I want it to.
The reason being is because when you click on the send button it opens up your email client as if your sending a new email.
Also, it opens a new browser windows with an error message saying the website cannot be found or you are currently working offline as I think its trying to find a webpage named after the email address the form is being sent to.
You put the PHP code in your web page along with the HTML, or you can put the PHP in a file all of its own and put an "include" to the file in your HTML document where you want the PHP code to appear
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.