How to check "like"?

There are posts, posts(id,title,text)
users users(id, email)

How to display posts based on user Leica?

Most likely you need to create likes(user_id,post_id)

Then either do this for each post separately a request to likes
Either that KMC is likely to make posts left join likes

Or is there some better way?
June 10th 19 at 16:50
0 answer

Find more questions by tags MySQL