I'm trying to create an anchor tag and using a variable as the link.
Here's what my template looks like.
<?php $website = tribe_get_event_website_link(); echo '<a href="' . $website. '">REGISTER</a>'; ?>
So I'm creating a variable that will hold the link the I want to anchor it. And when I echo it back, it appears, but it doesn't come out properly. Here's what it looks like.
Any clue on what I'm doing wrong?
I also tried
<a href="<?php echo $website ?>">REGISTER</a>
but it still produces the same thing.