Hello. I seem to have gotten myself into a messy situation. I am developing a website. Making use of HTML, PHP and CSS. I'm not much of a web guru, so please bare with me.

Now I am trying to work on a social media site of my own, just to play around with. And the index or homepage should load recent posts from people within that network. Pretty much like facebook does with posts.

1. Can I do this using <div>?
2. And does it have to be integrated with some sort of database (I'm good with mySQL)?
3. And how do I get a certain number of divs to be loaded each time and with fresh content when the user hits refresh?

Thanks.