I know this is not ideal but I just started experimenting with online stuff and I don't know how to search for possible solutions or if this problem has a name. please excuse my behavior.
The Problem: I want to have a database with item that can be changed by more than 1 user. Lets say player 1 loads the DB and see that the item says "A". Player 1 changes "A" into "B". But before he can upload it to DB Player 2 loads the DB. Player 2 loaded "A" and wants to change it to "C". So the DB changes from A to B and then to C.
My project is a webpage. Im planning to have less than 10 players and about 1000 items. I know basics of PHP and MySQL. I think reloading the DB frequently can solve my problem but I'm afraid the load will not be good for the server.
Im asking for solution, possible tools designed for this application or simply tell me what to google to learn more. Thank you for your time.