Hi, I have to write a kind of logging script which will keep records of how long a person used the site and its functions, so far this is what I have come up with: login_username varchar(50) as_guide <- You can ignore this,its for a special func login_time timestamp logout_time timestamp this_session_inlogged_time float this_month timestamp this_year timestamp sum_total_time_inlogged varchar or float Any suggestions on changing any of the above, adding fields or changing types? I am not 100% sure of the timestamp type for most of the fields. Any URLs,code examples or pointers to specific parts of the manual would be appreciated too. Thanks! Ryan ------ - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php