DMXzone Database Updater PHP Support Product Page

Solved

auto insert today's date

Reported 30 May 2014 15:07:04
1
has this problem
30 May 2014 15:07:04 Randy Riesterer posted:
How do I auto insert today's date into my database via a hidden field on an insert form?

Replies

Replied 30 May 2014 15:21:34
30 May 2014 15:21:34 Teodor Kuduschiev replied:
Hi Randy,
Did you try using:
<?php echo date('Y-m-d'); ?>

as the hidden field value?
(Note - just define the date in the format you need.)
Replied 02 Jun 2014 12:32:34
02 Jun 2014 12:32:34 Randy Riesterer replied:
That is what I was using - but I hadn't connected the form field in the Updater Action Executor. After I made the connection, it worked fine.
Thanks.

Reply to this topic