sa3bin wrote:care to tell me how to go about doing that....in noob terms??
table layout:
id name logged
where logged is a bool value. when the user logs in, you set that value to 1.
When you query the database, you ask for all rows with logged set as 1. ( SELECT * FROM users WHERE logged = 1 )
When they logout, reset the value to 0.
Problems arise however when the user doesnt use the logout function on your site.