I am new to web development and I've decided to implement concurrency in a Cinema ticketing website. So for example, when a customer selects a seat, I would like to lock the seat temporarily, rather than get interference from other customer, or avoid the scenario where two customers select the seat at the same time.
The scripting language and database I have chosen to develop this website are PHP, Javascript and MySQL.
Please give some suggestions or links about what technique I should use to fix it? Is that considered concurrency?