Added function to add ratings to the database and created accompanying addRating.php