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

it works..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.