I tried to echo the following html, I can see from firebug that the variables are correctly printed, but it doesn’t show up on the webpage. Would anyone please help me correct this?
$html ="<p><a rel='friends' href='$domain/$dir/$tag/$version/' target='_blank' $img></a></p>";
There is nothing between the and the tags. you need something like this: