Echo page path suffix only – not the title, path or permalink

Use the Post Object instead.

When in the loop, do this:

global $post;
echo $post->post_name;

That should do the trick.

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