Update or Delete specific data by id
I was trying to fit an existing PHP project into my Laravel project. I’ve tried so that I can gather knowledge how to fit a project into the Framework. Now, whenever I wanted to update or delete specific student by their respective id, it always update or delete the latest entry. Why does it happen and how can I solve this?