Is it possible to read the ID of a post and then insert it into the html of the post?

Try:

<div id="<?php the_title(); ?>-<?php the_ID(); ?>">

This should give you a result of:

<div id="Post Title-PostID">

Giving you a unique wrapper for each post.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)