/    Sign up×
Community /Pin to ProfileBookmark

Coding <div> boxes in html

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.

    to post a comment
    HTML

    0Be the first to comment 😎

    ×

    Success!

    Help @Eli_Skywalker spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.2,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,
    )...