Update #2

Now grabs posts from database, sql included inside.