Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Last Viewed Video or Last viewed item

Guest
Dec 10, 2008 Dec 10, 2008
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?
TOPICS
Server side applications
209
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 10, 2008 Dec 10, 2008
LATEST
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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines