In one of my projects, users are allowed to edit the same file. This is a group work, and the maximum number of users in a group is 4. It is rare that they will edit at the same time, but there is a possibility of this. I am using ckeditor which displays the content. How can I block content while editing it? In the above case, what happens if one user opens the content for editing and then never saves or opens a window. Is it possible to save the contents, release the lock for editing by other users? If the first user returns to the table, he should see a message stating that "the content has been changed, update."
I am using php, mysql.
thank
source
share