Thread: php e-mail form
View Single Post
Old 05-08-2009, 01:32 PM   #6 (permalink)
kmote
 

Join Date: Jul 2005

Location: England

Posts: 2,181

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: php e-mail form

Quote:
Originally Posted by ironlion27 View Post
What should be in place of the ----'s?
Nothing, CrazeD would like to see what is in $_POST so instead of
PHP 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)



?>
have
PHP Code:
<?php 
echo '<br />--------<br />';
print_r($_POST);
echo 
'<br />--------<br />'
?>

__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is online now