[Help] Get Time and Date
I'm working on making some contact forms for a non-profit. Well I tested it and it works but it doesn't send the Time and date. This is what I have:
Then the rest of the form, the action page is fine I checked it. I just need to know what I did wrong to make it not post the time and date.
+Rep +1 Thanks
Thanks for the help.
Code:
<form method="post" action="Contact-Send.php">
<?php
$time = getenv("F d, Y : g:i:s A");
?>
<input type="hidden" name="time" value="<?php echo $time ?>" />
+Rep +1 Thanks
Thanks for the help.