+ 1
Advice how to understand messege sistem in php mysql?
logic is that you put messege to server then display it in your site but how show it exactly to the person where it was sent? thanks
2 odpowiedzi
+ 3
Probably you can create a sender & recipient Id field in the messages table, each these Id refers to a specific user account of your web.
When a user logs on you select and display all recent records from the messages table where the recipient Id is the Id of current logged on user.
Hth, cmiiw
+ 1
could you write some code shows how to do it?!