I am experienced with html but never used php. I am making a site for a cat shelter and they have a very long adoption application form. Where the site is hosted has php4 and php5. I tried to set up the form for php but obviously don't know what I'm doing as it doesn't work. In the <body> before the form I have
<form method="post" action="sendmail.php">
and after the form
<input type="submit"></form>
In the file sendmail.php I have
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "cbrundage@nc.rr.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.purrparters.com/thankyou.html" );
?>
The form itself is coded in the usual html way. Any help greatly appreciated by me - and by the cats!!
Christina