ChatGPT wrote this. I tinkered a little with it. Like the other scripts in this collection, there's nothing to keep a user from skewing the data. If you want the php code for this, email me. Or ask ChatGPT to make it for you: "Please make a 5 star rating system using html, css, and php where the user inputs are saved to a text file on the server and the average displayed on the screen."