Welcome Guest, Not a member yet? Register   Sign In
Need help with marking read articles
#1

[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.




Theme © iAndrew 2016 - Forum software by © MyBB