Hi All,
Stuck here and hoping someone could point me in the right direction. I have a page that lists records with a button to edit the records. When updating a record I have a hidden field with a php timestamp <!--<?php echo(date("Y-m-d H:i:s")); ?>-->. My problem is that the timestamp records when a new record is inserted but when the record is edited the hidden fields value pulls from the database rather than updating to the new date. Has anyone ever run into this issue and found a solution?
Thanks in advance.
Stuck here and hoping someone could point me in the right direction. I have a page that lists records with a button to edit the records. When updating a record I have a hidden field with a php timestamp <!--<?php echo(date("Y-m-d H:i:s")); ?>-->. My problem is that the timestamp records when a new record is inserted but when the record is edited the hidden fields value pulls from the database rather than updating to the new date. Has anyone ever run into this issue and found a solution?
Thanks in advance.