I have built a blog in php but. On each article in the blog people are able to comment.
I would now like to build a system where people can vote on the comment up/down with Ajax.
In my comments database I have a table that looks like this:
id / article_id / user_id / dateposted / comment / voteup / votedown
I would like it to look like this:

Any ideas how I can do this? Tutorials online?
Thanks a million