I’ve had a hard time with this. I’m REALLY green with php. So I apologize for my ignorance in advance.
I have been able to get my form to transmit via email. Although when I receive the email it provides the content for every thing except from the Message text box. AND - it duplicates the info.
See below email sample:
Name: Lindsee
Company: Jaylin
Phone: 281-855-1234
Email: [email protected]
Requested Dates: 2-21
==============================
As you can see it goes straight from Message: into Name: and provides nothing for the Message area. (if that makes sense)
Here’s what as a novice I was able to pull together:
[code] <?php
$name = $_POST[‘name’] ;
$company = $_POST[‘company’] ;
$phone = $_POST[‘phone’] ;
$email = $_POST[‘email’] ;
$requesteddates = $_POST[‘requesteddates’] ;
$message = $_POST[‘message’] ;
$message = “Name: $namenn”;
$message .= “Company: $companynn”;
$message .= “Phone: $phonenn”;
$message .= “Email: $emailnn”;
$message .= “Requested Dates: $requesteddatesnn”;
$message .= “Message: $message”;
mail( "[email protected]", “Online Request for Information”,
$message, “From: [email protected]” );
echo “Thank you for contacting us. We will reply to your inquiry shortly.”;
?>[/code]
Thanks in advance for any help. I appreciate it!