I want to know how to show my users that are online, If you have a better way or a way of making this work please post your ideas here. Okay so would someone either make me a script so I can learn, but here is what i am thinking of how making it work. Say I have a user login so they are using sessions then i have a field in my mysql database in a table called members and it inserts a timestamp as in it changes the timestamp ex. when I log in it will take a timestamp and store it in db as online and when I go to another page it does it again basically and changes it to the time i went to that page.
Then i will have a USERS ONLINE thing at bottom of all pages and it caculates and shows the users that have basically been “active” in the last 3 or five minutes dont care, but basically I just want to create something that shows which members are online
Please help create this code as in basically showing how to caculate the 3 or 5 minute difference and then show them on the USERS ONLINE
the 3 or 5 minutes is i am saying either use 3 or 5 b/c that is reasonable to be pretty accurate.
Well if you have a way of doing this different then I have prescribed then plz post or can you show me how to do what I prescribed.
Thanks adeang