View Single Post
Old 01-09-2005, 02:20 AM  
rickholio
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: Nor'easterland
Posts: 1,914
Assuming you want to add the stuff into the body of the email itself, something like this would work:

<?
$mailout = "Name: $_REQUEST[name]\n";
$mailout .= "Phone: $_REQUEST[phone]\n";
$mailout .= "Address: $_REQUEST[address]\n";
$mailout .= "Message:\n$_REQUEST[message]";

mail( "[email protected]", "New Cleaning Order!", $mailout, "From: $_REQUEST[name] <$_REQUEST[email]>" );
header( "Location: http://www.mywebsite.com/thankyou.htm" );
?>

Is that what you're after?
rickholio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote