Is there a way in MySQL and PHP to allow only the person performing an update to view information about a particular record?
For example, if one user loads the page they are presented with a record which must be updated, until that user finishes updating this record, any other user accessing this page should not be able to view this particular record.
You can either add a field named like
lockedwhere you set a status. Maybe you also add a field likelockedtimewhere you save a timestamp how long the lock is active. That depends on your needs.There are also possibilities to do this native. Like