New to this -What I am doing wrong?

Can anyone tell me what I am doing wrong to fix this thing. I am very new to the from thing. I always use dreamweaver to make my page. Any help would be wonderfull. My form is at this page http://www.ddcinc.org/helpapp.html
The php file is at http://www.ddcinc.org/app.php
I enter the info in the form at http://www.ddcinc.org/helpapp.html and it send me an email but my info that i entered in the form is not showing in the email. All I get is the subject line. Thanks this is for a non-profit community organziation’s web page

[code]<?php $to = "[email protected]";
$subject = “DDC Project HELP Application - From Website”;
mail($to, $subject, $message);
$formurl = “http://www.ddcinc.org/helpapp.html” ;
$errorurl = “http://www.ddcinc.org/error.html” ;
$thankyouurl = “http://www.ddcinc.org” ;

$uself = 0;

// -------------------- END OF CONFIGURABLE SECTION ---------------

$headersep = (!isset( $uself ) || ($uself == 0)) ? “rn” : “n” ;
$organzation = $_POST[‘organization’] ;
$address = $_POST[‘address’] ;
$city = $_POST[‘city’] ;
$sate = $_POST[‘state’] ;
$zip = $_POST[‘zip’] ;
$phone = $_POST[‘phone’] ;
$fax = $_POST[‘fax’] ;
$website= $_POST[‘website’] ;
$contact_name = $_POST[‘contact_name’] ;
$contact_address = $_POST[‘contact_address’] ;
$contact_city = $_POST[‘contact_city’] ;
$contact_sate = $_POST[‘contact_state’] ;
$contact_zip = $_POST[‘contact_zip’] ;
$contact_phone = $_POST[‘contact_phone’] ;
$contact_fax = $_POST[‘contact_fax’] ;
$contact_email = $_POST[‘contact_email’] ;
$been_before = $_POST[‘been_before’] ;
$gone_since = $_POST[‘gone_since’] ;
$contact_email = $_POST[‘contact_email’] ;
$group_number = $_POST[‘group_number’] ;
$adult_number= $_POST[‘adult_number’] ;
$youth_number = $_POST[‘youth_number’] ;
$date_arrival = $_POST[‘date_arrival’] ;
$date_departure = $_POST[‘date_departure’] ;
$carpentry = $_POST[‘carpentry’] ;
$masonry = $_POST[‘masonry’] ;
$other = $_POST[‘other’] ;
$dry_walling = $_POST[‘dry_walling’] ;
$other_info = $_POST[‘other_info’] ;
$disabilities = $_POST[‘disabilities’] ;
$disabilities_comments = $_POST[‘disabilities_comments’] ;
$dietary_needs = $_POST[‘dietary_needs’] ;
$dietary_comments = $_POST[‘dietary_comments’] ;

$messageproper =

"This message was sent from:n" .
"$http_referrern" .
"--------------Organization Information------------------------------------n" .
"Name of Organization: $organzationn" .
"Address: $addressn" .
"City: $cityn" .
"State: $staten" .
"Zip: $zipn" .
"Phone: $phonen" .
"Fax: $faxn" .
"website: $websiten" .
"Address: $addressn" .
"Address: $addressn" .

"------------------------- Contact Information -------------------------nn" .
"Name of Contact: $contact_namen" .
"Address: $contact_addressn" .
"City: $contact_cityn" .
"State: $contact_staten" .
"Zip: $contact_zipn" .
"Phone: $contact_phonen" .
"Fax: $contact_faxn" .
"Email: $contact_emailn" .

"------------------------- Group Information -------------------------nn" .
"Has the Group been here Before: $been_beforen" .
"If yes what year: $gone_sincen" .
"Total number of people in group: $group_numbern" .
"Total number of adults: $adult_numbern" .
"Total number of youths: $youth_numbern" .
"Desired date of arrival: $date_arrivaln" .
"Desired date of departure: $date_departuren" .
"Does any member of the group have the following skills: $carpentryn" .
"Does any member of the group have the following skills: $masonryn" .
"Does any member of the group have the following skills: $dry_wallingn" .
"Does any member of the group have the following skills: $othern" .
"Does any member of the group have the following skills: $other_infon" .
"Does any member have disabilities: $disabilitiesn" .
"Disabilities comments: $disabilities_commentsn" .
"Does any member have any special dietary needs: $dietary_needsn" .
"Dietary comments: $dietary_commentsn" .	

"nn------------------------------------------------------------n" ;

mail($mailto, $subject, $messageproper,
“From: “$name” <$email>” . $headersep . “Reply-To: “$name” <$email>” . $headersep . “X-Mailer: chfeedback.php 2.08” );
header( “Location: $thankyouurl” );
exit ;
?>[/code]

In order to help you fix this problem, we need to know WHAT is wrong with it!
What exactly does not work? Walk us through the problem, and I for one will be glad to help you out. Just need some more info!

I am not for sure what is worng with it. I want the form to be submit to my email address. I get a message in email box that show that someone has submited a form but the email does not contain any information other the subject line. I need the info that the use enters into the form to show up in my email. I am very new to this and at this point don’t like forms. But this non-profit asked for it so i am trying to help. Thank for your help!

Try doing some debugging (see the link in my signature). Especially echo statements should help you out. If it still doesn’t work after those attempts, you could always try to comment EVERYTHING out, and slowly and systematically start uncommenting lines to see where it still works and where the problem start coming up.

Yes I have tried debuging

Sponsor our Newsletter | Privacy Policy | Terms of Service