The concept is simple:
-
User click “Send PM” button on one of ads.
-
Window pop up with “Title” box, “Message” box and send button.
-
Recipient sees a message with following info: “Sender Name”, “Date Received”, “Title” and “Message”.
-
Recipient replies by filling: “Title” and “Message” and press reply.
-
Repeat step 3.
No IP will be stored.
Can you please give me an idea how to make a concise/efficient relational design?
Message table formate
Message
self referance is to keep the track of the whole chat.
for the first message its NULL and than onwards id of relative meesage