How would I add the rating to the Top 10 section?
I would like a way for it to show 5 stars or whatever the rating is.
Top 10 Rating
Moderator: Thorsten
Hi Andrew,
the SQL-Query should look like:
The rest is simple PHP.
bye
Thorsten
the SQL-Query should look like:
Code: Select all
SELECT DISTINCT faqdata.id, faqdata.lang, faqdata.active, faqdata.rubrik, faqdata.thema, ( faqvoting.vote / faqvoting.user ) AS num, faqvoting.user FROM faqdata, faqvoting WHERE faqdata.id = faqvoting.artikel GROUP BY faqdata.id ORDER BY num LIMIT 10
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi Andrew,
just look in the file admin/stat.ratings.php, you can use a lot of stuff from this file.
bye
Thorsten
just look in the file admin/stat.ratings.php, you can use a lot of stuff from this file.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist