[eluser]glenconde[/eluser]
Thank's for the reply sir..
Here's my table structure:
Field Type Collation Attributes Null Default Extra Action
person_id int(10) No
login_time time No
logout_time time No
date date No
------------
when I login, it inserts the person_id, login_time and date.. and the logout_time in the table put's up
00:00:00..
then, i want to UPDATE the table where person_id login, and update it's logout_time where the logout_time=00:00:00..
but my main problem here is that when I logout, all of the same person_id will be updated too..
here is the Result:
person_id login_time logout_time date
1 19:09:20 19:17:30 2012-03-06
1 19:16:43 19:17:30 2012-03-06
1 19:17:27 19:17:30 2012-03-06