clicking on page title

usually the code that makes a link to a title in WordPress looks something like this

 <a href="https://wordpress.stackexchange.com/questions/66152/<?php the_permalink(); ?>"><php the_title(); ?></a>

if you were to change it to this

<?php the_title(); ?>

it would only display the title. It would remove the link. Does that answer your question?

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