Hi guys!
I have a website where users can follow each other. I want to create a stream/feed where posts and updates releated to friends will show. So in "theory" something like this:
if friend1 and friend2 == true
- > show posts from entries database
else
- > don't show anything
SQL:
bhost_userfollow
id, follower_u_id, following_u_id
bhost_entries
e_id, title, contents, u_id
I have seen people using what they call a "JOIN." This looks interesting, but I can't really manage to implement it right. So any tips, ideas and helpful contributions will be appreciated.