9 years ago
0
Topic

Hi, i like to show the Rating from Komento. There is a table

#_komento_comments with field ratings and cid (this is the article id). 

Now i use in Article the field ID and make a sql with SD Databaser. I use this SQL:

SELECT AVG (ratings) FROM #_komento_comments WHERE cid = *value*;

But i see in article the ID of the article. What can be the problem?

Get a VIP membership