Jump to content

java display help


ctcp

Recommended Posts

           <?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?

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.