CodeIgniter Forums

Full Version: how to get User Database Activity's
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all,

I Have a database tables in the name of local_posts,post_comment,user_feedback...
I want user activity s based on these tables.. suppose user perform the some comments on post comment table ... and feedback table . i want result latest database activity based on user ..
make another table with the name 'activities' and save every action in that table with the table reference. then query in table activities and popuplate data with respoective table.


activities: (id, object, object_id, date_time, active) where object is feedback and comments and object_id is feedback'table id etc ......
Use the "Rat" library that Avenirer has made.