How to Reply

If a person sends a private message to a user, how can I create a reply? For example, if someone sends a message to another user, if they click the reply button, it will have the username already filled?

If you have the sender of the original message, you set him as the recipient on the reply message.

How can do I that? I was thinking of echo the sender’s name or calling mysql.

Just take the senders ID as recipient.

So, how are you designing this? What is the table structure?

Sponsor our Newsletter | Privacy Policy | Terms of Service