Thread: php e-mail form
View Single Post
Old 05-07-2009, 09:40 PM   #1 (permalink)
ironlion27
 
Newb Techie

Join Date: May 2009

Posts: 8

ironlion27 is on a distinguished road

Default php e-mail form

Hey guys, I'm trying to set up a a fairly simple e-mail form using Dreamweaver. I have set the form fields and have made the simple .php script file to process. The problem is when I test it none of the values that are entered by the user come through. See examples below.

First- This is the .php file (minus my e-mail address):

Code:
<?php 
$name = $_POST['Name'];
$email = $_POST['E-mail'];
$team = $_POST['Team'];
$service = $_POST['Service Type'];
$goal = $_POST['goal'];
$message = "Team: $team\n Service: $service \n Goal: $goal";
$header = "Name: $name E-mail: $email";

mail ( "e-mail", "Quote Request", $message, $header)



?>
And this is what I get e-mailed to me even after I enter values in all of the fields:

Team:
Service:
Goal:


Please help!!!
ironlion27 is offline