i have the following script that works but my (name, phone, period, person and address info) ends up on the From line in my emails (so the email address is one long string of all that information. i tried moving the data behind "body" but it doesnt seem to work. i keep getting errors on line 11. im not an experienced php writer so im not sure of spacing, commas... ect.
<?
$email = $REQUEST['email'] ;
$name = $POST['name'] ;
$address = $REQUEST['address'] ;
$phone = $REQUEST['phone'] ;
$person = $REQUEST['person'] ;
$period = $REQUEST['period'] ;
$body = $_REQUEST['body'] ;
$subject = 'Reservatie';
mail( "email@email.be", "Reservatie",
$body, "From: $email $phone $name $period $address $person" );
header( "Location: http://www.mywebsite.be/feedback.html" );
?>