PHP in Edit Post link

The easiest way might be to use get_edit_post_link() (Codex ref), which returns just the link, allowing you to use it however you need, according to your purposes.

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