Jump to content

Check Last MySQL update


shlocko

Recommended Posts

I am working on a website, where you can have accounts and status'. I want to create a "recent status updates" area but I need a little help. Is there a way to like, check recent updates to a mysql database? like check how recently under the table member the area "status" has been updated? if anyone could point in the right direction for this, it would be quite helpful. And if you maybe need more info to help me, let me know. Thanks!  

Link to comment
https://forums.phpfreaks.com/topic/279924-check-last-mysql-update/
Share on other sites

If you want to get a result of records based upon the time that a field was updated you need to add another field to track those changes. So, if you want to pull records based upon when 'status' field was updated in the members table, then you should add a new field, e.g. 'status_update', and set its value whenever status is changed.

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.