-1

hi friends,
i have a problem in my code here is paste the code

foreach ($entries as $entry)
                                    {
                                    $preview = textPreview($entry['texts'], 15);

                                    echo '<div class="leftnavi">
							<h2>'.ucwords($entry['title']).'</h2>
                                                        <p><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.example.com" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;"></iframe></p>
							<div class="tags">
								<p>'.ucwords($entry['tag']).'</p>
							</div>
							<div class="quotes">
								<p>'.stripslashes($preview).'</p>
								<p><a href="index.php?p=blog&amp;cat='.$entry['catid'].'&amp;fv='.$entry['id'].'">Read More</a></p>
							</div>
						</div>';
                                }

but exactly problem is that if i like any one post then it show likes on all posts, not on particular one post..

is there any problem in code??
please suggest me

i want to show separate like button on the post not on all b

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by jogesh_p
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.