1
Answer

displaying messages

venkataram reddy

venkataram reddy

14y
1.9k
1
I  have created one table  which includes  user id,name, login time and  logout time and status filed

So when a new user logged(clicks  on login button) in then it will be inserted into the  database  and status field will be  set  to  1 and when he clicks on logout  button  then status field will be set to  zero.  And if the user id  for example 2002 is already their in the database and not  logged in,and when he logged in then only status field will  change from 0 to  1.

Till This i have finished with coding and  designing

So Now i need to fetch the user id and name from the table to the  form and  display some popup message   whose status is 1 that is when new user  logged in  to system. (Notification message to  the user already  logged in) that user id  with name is logged into  the system  


Answers (1)