This for something like facebook wall, our updates and friends updates. Right now I have a table to keep updates and another table to keep friends information for a specific user(user_id and his/her 's friends ids). There is a user table and a page for each user; when someone visit the page, we check for the users friends and show updates from the update table of the user and users friends. What should I do to get something like this?. I dont want the coding, just a method or a way to do it.
P.S:- Using php and mysql