Create dynamic link in echo

Hi,

I am using echo to output some tables, part of the table I want to output a link, what can i do to make the table below to output $website as a link and not static text!

<td width=“287” class=“style2”><strong>Website:</strong><br/><a href=“‘.$website.’”</a><br /></td>

i said this is only a part from a larger echo statement, its a dataset from a table…

but, as I said, that part is incorrect, the html part, not the php part - please double check what I’ve posted, in particular the part directly after calling $website. I’ve put echo in there as well as proper quotes in order to show you how to post code here properly, with syntax highlighting.

To make it absolutely clear, this is incorrect:

<a href="'.$website.'"</a>

First, please use [ code ] to embed your code (or other syntax highlighting found in the toolbar)

Secondly, your html code is incorrect:


echo '<td width="287" class="style2"><strong>Website/strong><br/><a href="'.$website.'">'.$website.'</a><br /></td>';