I've been trying to add some php code to make my html document send an email based on the form the user puts in but I can't get the connection between php and html to work. Using WAMP and I have a .htaccess file that looks like the following:
RewriteEngine on
RewriteRule ^index$ index.php
AddType application/httpd-php .htm .html
When I go to my webpage and enter my name, email and a message I get this on my browser instead of "You've gotten mail" or something.: