Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Last 5 visitors on page

    Hello. can someone help me out.

    I'm trying to add a list of the last 5 users to view a webpage using php and mySQL. any ideas?

    I already have a script on the page to see if a user is logged in. Im just looking for the scripting to create a list of the last 5 users to visit the page and then retrieve the list on another page.

    If you really want Ill give someone a few dollars to do this.

    Thanks in Advance.

  • #2
    New Coder
    Join Date
    Feb 2012
    Location
    Richardson
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    if you are using wordpress, you may use most-recent-visitors plugin. Or, you may have a look into this plugin to get an idea.

  • #3
    New Coder
    Join Date
    Feb 2012
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    for such things like this... I'd recommend keeping info about last 5 users in file

  • #4
    New Coder
    Join Date
    Feb 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    I'm not using wordpress. I thought that creating a database where as the ids in each table grow. Every id values lower than the top 5 ids are continuously deleted.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •