Hello Monks,

I have been wondering for quite a while how voting on nodes works within the site. More specifically, how and where are the nodes that a user has voted on stored? Are they within a table that deals with users, or within the table that regards the node itself, or some other table?

I appreciate your help,
ghettofinger

Replies are listed 'Best First'.
Re: Bringing Votes to the Table
by derby (Abbot) on Jun 23, 2006 at 15:55 UTC
      Thank you very much. This is awesome.
Re: Bringing Votes to the Table
by demerphq (Chancellor) on Jun 29, 2006 at 15:19 UTC

    Its an associative table, (roughly) columns: user_id,node_id,vote

    ---
    $world=~s/war/peace/g