include date in email from subitted form

O

old.karmakiller

Guest
Hi can someone help...I have a done a callback request form in PHP and I want to include the date in the email that the form sends...does any one know how to do it, or even better give me the source code....THANKS
 
O

old.spSpeciesBorg

Guest
How to do it :)

You could use the inbuilt date() function to do this, along with the time.

By assigning the value of date() to a variable you can display it. For example:

<?
$showdate = date("d/m/y h:i: a");
echo $showdate
?>
 

Users who are viewing this thread

Top Bottom