php - getting mysql data for different users -
If I have two users, then a user has many posts in the post table, like
postid,
And I have another table for friends, for example
id, friendly, user-id, franc_syn (i.e. timestamp )
/ code>
Now I want the user's friend to look at the user's posts after the date on which they user Added as TRI. Not from old to date, he added them as a friend. How do I do this in a single MySQL query?
After making this, all the posts of people will be seen by friends 12:
< P>
>
Comments
Post a Comment