Store in session the last value of the column updated_at
Hello,
I am new in laravel, I just want to know how to store the last value of updated_at column in session after I update the record and echo out in view. for example: Last Login: 2days ago. thanks!
Hi swalker, I already did that. every time the user logged in, I update the updated_at column on my table. but I want to display the date before I update the updated_at column.
what in my mind is when the user logged in there is a session that will store the value of updated_at column value before I update the value of the column. so I can echo out the last value of the updated_at column. but I don't know how to do that in laravel. thanks for the reply :)