Attempting to populate a hidden field with the php equivelent of Now()
Here is what I have based on a forum post: <?php date("F j, Y, g:i a") ?>
The results is: 0000-00-00 in the database.
Can anyone point me in the right direction? Thanks Keith
Okay, noticed how the other hidden boxes were populated and found
what was missing.
<?php echo date("F j, Y, g:i a"); ?>
Changed the hidden form element to a text box and confirmed result
<?php date("Y-m-d") ?>
Retrieving data ...