I have a div which works fine
<div id="fb-root"></div>
<fb:like href="<?php echo $link; ?>" send="true" width="450" show_faces="true" font="">
</fb:like>
If I try to use an echo, I don't get the value of $link when I do this.
echo '<div id="fb-root"></div>
<fb:like href="<?php echo $link; ?>" send="true" width="450" show_faces="true" font="">
</fb:like>';
likewise this one too. i cannot get the $link.
echo '<iframe src="http://www.facebook.com/plugins/like.php?app_id=208015255907895&href="',$link,'"&send=true&layout=button_count&width=50&show_faces=true&action=like&colorscheme=light&font=trebuchet+ms&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe> '
Any help?