The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Adding date to contact form Re: Adding date to contact form


Seems that broke it without error message. See anyhting strange?

$EmailFrom = "TESTTHANK";
$Subject = "Thank You";
$Name = Trim(stripslashes($_POST));
$Email = Trim(stripslashes($_POST));
$date = date('Ymd');

$Body = "";
$Body .= "The date is: ".$date."n";
$Body .= $Name . ",";
$Body .= "n";
$Body .= '
I am delighted you contacted me via our website.
Kelly Mills