Outputting post title without encoding

Try this:

$title = get_post_field('post_title', $post_id, 'raw');

However I’d get to the bottom of what encoding reddit code would prefer. Echoing raw stuff is poor idea for security.

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