PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am wondering about rating concept in hotscripts.com. There are some listing which are rated as 1 star even more than 20 users have rated it. on the other hand some of the listing are rated 5 start even 5 users have rated it. I don't know how it works?
It is likely rated out of a maximum (best) at 10..
Each vote is put into a database and queried using average() or alike to determine the average score.
The rating is not determined by the amount of people who have rated the script, but what is average score of all the votes