Jump to content

[SOLVED] "Default" column set to "CURRENT_TIMESTAMP", but not updating


ShootingBlanks

Recommended Posts

Hello.

 

In phpMyAdmin, I have a row in a table with the following specs:

 

* Field (name): updated

* Type: Timestamp

* Coallition: (empty)

* Attributes: (empty)

* Null: No

* Default: CURRENT_TIMESTAMP

* Extra: (empty)

 

However, anytime I update a record, the "updated" field stays as the creation date of the record (not the current date).  What could I be doing wrong here?  What other information is needed for me to get help on this?  Thanks!!!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.