Hi everyone - new to PHP , Cold Fusion background...

I've got a client with a mail form on their site that needs to be posted to an email account and it doesn't work he asked me to look at it... it's on Windows and the form has fields like this:

first_name
last_name
dayphone_1
dayphone_2
dayphone_3
mortgage_past_due
reason_for_applying

In the PHP process page that he sends the form to I think it's a simple problem but it sends an email but the fields are left blank - what's wrong with the following code?





<?php

mail("[EMAIL PROTECTED]","Web Site Application","

hey, a form:

first name: $first_name

last name: $last_name

day phone: $day_phone_1 $day_phone_2 $day_phone_3

--------------------------

Is Your Mortgage Current Or Past Due: $mortgage_past_due

Reason for Applying: ---------------------------

$reason_for_applying

------------------------------------------------

","From: [EMAIL PROTECTED]\n");


header("location:form_submitted.html\n");


?>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to