Looking for a good way to include php code in posts, but using special include markup rather than direct php code

Have a look at the Shortcodes API http://codex.wordpress.org/Shortcode_API

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