Skip to main content
December 10, 2008
Question

Last Viewed Video or Last viewed item

  • December 10, 2008
  • 1 reply
  • 206 views
When I go to a website that I have logged into in the passed it tells me that my last viewed video or my last viewed item, how is this done through PHP if I want to make the same functionality?
This topic has been closed for replies.

1 reply

Inspiring
December 11, 2008
Usually it's just a database field tied to the user keeping track of
online activity. Could be a field in the main user table with the last
activity stored, or a relational table tracking all recent activity and
showing the one with the most recent timestamp.

Not sure what you're asking on the specifics though - depends on your
database structure, what exactly you're tracking, how the login account
are managed, etc.

AdonaiEchad wrote:
> When I go to a website that I have logged into

in the passed it tells me that my last viewed video

or my last viewed item, how is this done through

PHP if I want to make the same functionality?