MySQL Forums
Forum List  »  PHP

Re: Add "now" time from form to DB Problem
Posted by: Peter Brawley
Date: May 06, 2016 10:51AM

It's doing exactly what you told it to do: overwriting the posted value with the value from the PHP date() func:

> $time = date("Y-m-d H:i:s");

Options: ReplyQuote


Subject
Written By
Posted
Re: Add "now" time from form to DB Problem
May 06, 2016 10:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.