View Single Post
Old 01-09-2005, 02:12 AM  
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
I hhave a 3rd grade level PHP question, any 4th graders here?

I know jack shit about php so I'm having a helluva time making this simple form mail php script add the $name $email $address & the $message into the email's body. As it is, it only adds the $message. What am I doing wrong?

< ?
$email = $_REQUEST['email'] ;
$name = $_REQUEST['name'] ;
$phone = $_REQUEST['phone'] ;
$address = $_REQUEST['address'] ;
$message = $_REQUEST['message'] ;

mail( "[email protected]", "New Cleaning Order!",
$message, "From: $email" );
header( "Location: http://www.mywebsite.com/thankyou.htm" );
? >
__________________
I've trusted my sites to them for over a decade...

Webair, bitches.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote