How do I ensure custom post type information is displayed in correct order?

To achieve this, I used add_filter( 'the_content', 'myFunction' );

Then in my function, I echoed the_content() to display the content the user typed in and then echoed the other content I needed.

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