Parse error: syntax error, unexpected $end in /mounted-storage/home118b/sub001/sc16660-QHQQ/www/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 43
The query below is used to join the hot or not table with the comments table. Then you should be able to find the totals / positives / negatives.
SELECT vote FROM tblcomments_hon INNER JOIN tblcomments chon ON chon.comment_ID = tblcomments_hon.comment_id WHERE chon.comment_post_ID = ‘$post_id’ AND $tblcomments_hon.comment_id =’$commentid’
4 Responses
james m
March 1st, 2008 at 10:12 am
1Hi, Is there a demo of this plugin anywhere?
tks
james
aRo`
March 1st, 2008 at 1:29 pm
2you can take a look at http://www.procontra.be/
jrausell
October 14th, 2008 at 1:00 pm
3hello, I have some question.
how I can count the votes (totals, positives and negatives)?
how I can show the votes like in your example http://www.procontra.be ?
thanks !!
aRo`
November 12th, 2008 at 10:05 pm
4The query below is used to join the hot or not table with the comments table. Then you should be able to find the totals / positives / negatives.
SELECT vote FROM tblcomments_hon INNER JOIN tblcomments chon ON chon.comment_ID = tblcomments_hon.comment_id WHERE chon.comment_post_ID = ‘$post_id’ AND $tblcomments_hon.comment_id =’$commentid’
You can then use this data to fill an chart.
RSS feed for comments on this post · TrackBack URI
Leave a reply
Who is aRo` ?
I'm an e-commerce consultant trapped in a developpers mindset.I work with:
Popular posts
Categories
Social
Recent posts
Archives
Links
Software