Hey everybody. So, I’m creating this kind of a social network script for a project of mine and i need it to display a news feed similar to facebooks feed, that is, to display your friends posts and your own posts…but with my technique it only displays friends post.
my query is the following:
SELECT
*
FROM
ajee_friends
JOIN
ajee_wall
ON
ajee_friends.fid = ajee_wall.uid
WHERE
ajee_friends.uid = '$this->uid'
1 Answer