how do i script a php echo for info stored in mysql so it is rendered as a hyperlink to its website?

here is the script i am trying to edit: highlighted in red is what i need to change for the echo to href.

<table>
				<?php if($this->team->t_official_website){?>
				<tr>
					<td width="110" class="team_info">
						<?php echo JText::_("OFFICIAL WEBSITE");?> : 
					</td>
					<td>
			           [B]<?php echo $this->team->t_official_website ;?>[/B]
					                    	
                    </td>
				</tr><?php } ?>

here is my test site if you want to take a look: http://www.treybraids-designs.com/Nickle/

when on my site click standings? eastern division and you will see the team tab with the website which isnt active...

thanks
trey

<td>
<?php 
    echo '<a href="';
    echo $this->team->t_official_website;
    echo '">';
    echo $this->team->t_official_website;
    echo '</a>';					                    	
?>
</td>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.