I have read several posts that relate to this question, but I still can not understand what I am doing wrong. For instance:
Saving timestamp in mysql table using php and Display the date of creation of a row in mysql
All I want is to have the date a record is created put in a column of mysql database and then post it to a php results table.
I have added a column to the database called 'Date' with Type:timestamp, Default:current_timestamp(), and Attributes:ON UPDATE CURRENT_TIMESTAMP(). For some reason all rows in the 'Date' column show nothing but zeroes?
How can I set up the column so it actually displays the creation date for each record?
Here is a screenshot of my database structure:
And here is a screenshot of the database records:
Any help would be greatly appreciated.