Looking for a script to add a function for "add article to watchlist"

Discussion in 'Programming' started by deepweb, Sep 25, 2007.

  1. #1
    Hi there,

    I have a couple of sites that are looking for the ability for visitors to add articles and information to a watchlist.

    Lots of sites have them, so people can come back and review items they have flagged.

    I was hoping for some AJAX/PHP solution for my sites.

    Any ideas of scripts or tutorials I could look at?

    Thanks in advance

    Steven
     
    deepweb, Sep 25, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If it is a membership site then simply have a table of id, username, article id and clicking add adds their username and the page they are on's article id to the db. Same can be done for non-membership but set them a unique identifier as a cookie (but naturally this has a limited lifespan as people occasionally clear cookies etc)
     
    AstarothSolutions, Sep 25, 2007 IP