Forum Moderators: coopster

Message Too Old, No Replies

php formmail date time

php formmail

         

ictglobal

12:30 am on Apr 30, 2004 (gmt 0)

10+ Year Member



Hi,
can someone show me how to add date and time to the subject in php formmail.

Thank you.

venelin13

5:05 pm on Apr 30, 2004 (gmt 0)

10+ Year Member



$my_date = date("M/d/Y", time());

$subject = "Test email at $my_date";

mail($to, $subject, $message, $headers);