Just a quick question – I am writing a PHP app that relies heavily on SQL databases. I am slightly worried that many users all accessing the same database will cause errors. If so, how can I overcome this, what can be done?
I am not sure how many users at the end of the day will be using it, not hundreds, but maybe 5 or 10 or even 20. And even then its unlikely that they will be updating at the EXACT same time, but still. Any thoughts?
MySQL Transactions is what you’re looking for.
Then PHP PDO extension with its transactions management.