如何回显包含变量的超链接?

In the code below, I would like to make the word that prints out as the variable "$submittor" a hyperlink to "http://www...com/.../members/index.php?profile=$submittor" .

I can't get it to work; I think I'm doing the formatting wrong.

How can I do it?

Thanks in advance,

John

echo '<div class="sitename3name">Submitted by '.$submittor.' on '.$dt->format('F j, Y &
b\sp &
b\sp g:i a').'</div>';

You've left out the link.

$link="<a href='http://www...com/.../members/index.php?profile=$submittor>$submittor</a>";
echo '<div class="sitename3name">Submitted by '.$link.' on '.$dt->format('F j, Y &
b\sp &
b\sp g:i a').'</div>';