CodeIgniter Forums
How to make Login-Logout Reports.. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to make Login-Logout Reports.. (/showthread.php?tid=49765)



How to make Login-Logout Reports.. - El Forum - 03-02-2012

[eluser]glenconde[/eluser]
In my program, i have several employees that will login everyday.. and i wanted to record their LOG activities. . please help Igniters!

Table format:

Date Employee Time-Login Time-Logout

Thank's!


How to make Login-Logout Reports.. - El Forum - 03-02-2012

[eluser]PhilTem[/eluser]
You will at least need a model that talks to the database. Then just make a nice wrapper around it so almost any data is added automatically. Then add a call to this wrapper-method to the business logic when the user is marked as "logged in" or as "logged out".
It can be that simple Wink


How to make Login-Logout Reports.. - El Forum - 03-02-2012

[eluser]glenconde[/eluser]
Can you take a look at my Code? please. . i can send to you my scripts..
im just a bit twisted upon editing it.. sorry for the inconvenience.. just newbie.'

Thank you!