I need a script which prints like a "currently logged in: $user1, $user2. etc." i use the mysql, and when user logs in, his nick is recorded into database, and printed out in a "currently logged in" field. However, the main problem is: how to know when he will log out and delete his nick from database? can anyone post a simple example of script? or maybe any other method? thanks a lot..