Shouldn't it be as simple as this to display the date in my email subject? When I run this it just display exactly what's written, ignores the code...
PHP Code:$message = <<<HERE
The following people are members as of echo date('d-m-Y');.
The login information is as follows:
-----------------------------------------
$login
HERE;
$from = "Email <me@mydomain.com>";
mail($to, $subject, $message, 'From: '.$from);
}
?>



Reply With Quote


Bookmarks