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

Similar threads

A
Replies
2
Views
552
A
1
Replies
4
Views
644
MYstIC G
M
T
Replies
8
Views
674
Mr. 47
M
D
Replies
0
Views
513
doh_boy
D
Top Bottom