Hello everyone,
Thank you for helping me in the pass .
Here is the new problem
I keep geting
Parse error: parse error, unexpected T_ECHO in C:\
in my sendform
Here is the code
<?php
$LastName = $POST['LastName'];
$FirstName = $POST['FirstName'];
$Year = $POST['Year'];
$Setting = $POST['Setting'];
$Gender = $POST['Gender'];
$Status = $POST['Status'];
$Other = $_POST['Other'];
$formsent = mail('carlbh@bellsouth.net', 'What was the name of that
thriller?', "Request from: $LastName $FirstName\r\nYear:
$Year\r\nSetting(s) : $setting\r\nProtagonist gender: $Gender\r\nBook
status: $Status\r\nOther identifying characteristics: $Other", "From:
$Email\r\nBounce-to: help@example.com");
if ($formsent) {
echo "<P>Hi, $Firstname. We have recieved your message and will get back to you in 12 hours";
} else (
echo "<P>Hi, $Firstname. Sorry,there is something wrong";
Please explain it to me as if I was a 2 year old I am xtremly new to php , but I have to get this project done before the end of this week, or I'll lose my customer , he wants it done in php instead of ASP.
?>
Thank you
Spoonie Luv