How do you deal with multiple users accessing a mySQL database through php? I've a web based system that allows users to access and edit a database, at present there would only ever be one person using the system but that is about to change and I've no idea how to prevent dirty read/writes.