how to turn a link field into a button or link text

probably using a a tag

$youtube_url="https://youtube.com"; ?>
<a href="<?php echo $youtube_url; ?>">youtube</a>

this will appear on the browser like this

<a href="https://youtube.com">youtube</a>

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