Here is my existing script. Right now myself and one other person receives an e-mail confirmation notifying us that a form has been submitted....
<?php
if(isset($submit)){
//send mail
mail("lkarnowski@2ndwindexercise.com", "2nd Wind Form", "
Congratulations! Your Form has been filled out.
CONTACT INFORMATION
CONTACT
NAME:
$first $last
PHONE:
$phone
EMAIL ADDRESS:
$email
");
mail("jholland@2ndwindexercise.com", "2nd Wind Form", "
Congratulations! Your Form has been filled out.
CONTACT INFORMATION
CONTACT
NAME:
$first $last
PHONE:
$phone
EMAIL ADDRESS:
$email
");
//send javascript alert.
echo("<script language='javascript'>alert('Thank you, your form has been submitted.');</script>");
}
?>
Now I want each form submitted to simply be dropped into an Excel spread sheet sitting on my desktop. Based on the provided script, exactly how do I write this script seperating it into the necessary fields (name,e-mail,phone), and where do I exactly paste it into this existing code?
Thank you,
Jerry Holland