A
A
Anton2016-08-16 03:25:29
PHP
Anton, 2016-08-16 03:25:29

How to delete correspondence?

Hello. There is a dialogue in which two people correspond, any of them can delete messages, how to make it so that when one deletes messages, the other one has it left ????

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-08-16
Protko @Fesor

The answer, as it were, suggests itself - do not delete, but hide for specific users.

R
Ruslan, 2016-08-16
@Gavr23

You can make a table that will contain the message-user relationship. When deleting a message by a specific user, just delete the desired link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question