i have a database that i want to use for a chat room. When a user signs on, his/her name is added to the database for the “Who’s Online” list. I know how to add the user to the database, but how do I remove the users name from the database when he/she closes the chat window?? I assume i would call if(die) or something to that nature in my php. Any one have any ideas?
Thanks!