CodeIgniter Forums
Need help with marking read articles - 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: Need help with marking read articles (/showthread.php?tid=47683)



Need help with marking read articles - El Forum - 12-18-2011

[eluser]Unknown[/eluser]
Hi, I have an app that displays external links to a site, they are all articles. These articles are in the database. Im currently looking into a solution that would show the user new articles on their next visit.
I have a made a table with cols ID, user_id, article_id, read.
I have started work on the models and controller but basically I need to pass the article ID and user ID to a jquery function when a user clicks that article, so that the data can be inserted into the data showing that the article has been read.

Is this the best way to do this? I need some help on how to approach the jquery side of things.

Thank you.