CodeIgniter Forums
Need help with marking read articles - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Need help with marking read articles (/thread-47683.html)

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

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.