https://www.php-resource.de/forum/php-developer-forum/93039-rating-script-wie-erechnen