Question:

How to send messages to each another account PHP?

by  |  earlier

0 LIKES UnLike

Users able to send messages to each other inside the site, e.g. user1 wants to send a message to user2 in the same site.

 Tags:

   Report

1 ANSWERS


  1. Setup up a table in the database called message with the fields:

    id, sender, reciever, title, message, viewed, date_sent

    In the inbox of each person you load the records which are the same as the recievers username. When an email is sent it goes into the table. It's actually really simple.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.