I update user activity time in activity db table field name "activity" as 2021-03-05 06:32:46 so supposing if current time now is 2021-03-05 06:32:46 and user is idle then how can i show it on page like a timer 00:01:58 and it keeps increasing till the user activity column is not updated.
just need to show h m s in php from mysql timestamp table
really appreciate your help
Thanks