Results 1 to 4 of 4

Thread: Display The Names From Online Users

  1. #1
    Join Date
    Apr 2011

    Display The Names From Online Users

    Lets say i have 10 users in my database.
    I want to display 2 dynamic tables, one with the names from online users and one with the names from offline one..
    Any suggestion i am a bit confused

  2. #2
    Join Date
    May 2003
    Thats not an easy question, but I think an easy way to implement a feature might be to have 2 tables (all users (lets call it 'users'), and one containing the users last activity time (lets call it 'user_ping')) Everytime the user makes a request it gets logged in user_ping...then to differentiate online vs offline users simply query the users with a ping time in the last 5 minutes.

    OF course this is not the entire solution or completely fool proof, you would have to get more tricky maybe with ajax calls and keystrokes to be more accurate...but it is an easy start using only PHP.
    We do precision guesswork

  3. #3
    Join Date
    Jan 2013
    How we made logout concept in our web form?

  4. #4
    Join Date
    Nov 2012
    In my Point of view.Its so difficult, but PHP gives a better solution using those values in data base.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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