ctcp Posted October 2, 2011 Share Posted October 2, 2011 <?php do { ?> <div id="FaceBookLikeButton"> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1" type="text/javascript"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- var fb = document.createElement('fb:like'); fb.setAttribute("href","<?php echo $row_like['link']; ?>"); fb.setAttribute("layout","button_count"); fb.setAttribute("show_faces","false"); fb.setAttribute("width","100"); fb.setAttribute("font","arial"); document.getElementById("FaceBookLikeButton").appendChild(fb); //--><!]]> </script> </div> <?php } while ($row_like = mysql_fetch_assoc($like)); ?> im trying to get multi facebook likes buttons to my page but got this promblem im trying to repeat record from DB and javascript whan't clone got this result in my page Like Like Like Like i whant somthink like that Like Like Like Like Like im trying to put the realt to table but got some promblem any help? Quote Link to comment https://forums.phpfreaks.com/topic/248276-java-display-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.