Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $title=urlencode($cat[0]['title']);
- $url=urlencode('http://themagicbeans.in/projects/ddcottonfinal/blog-detials.php?id='.$id.'');
- $summary=urlencode($cat[0]['content']);
- $image=urlencode('http://i.imgur.com/jTPYqJA.jpg');
- ?>
- <a href="javascript: void(0)" onclick="window.open('http://www.facebook.com/sharer.php?s=100&p[title]=<?php echo $title;?>&p[summary]=<?php echo $summary;?>&p[url]=<?php echo $url; ?>&&p[images][0]=<?php echo $image;?>', 'sharer', 'toolbar=0,status=0,width=620,height=280');">Share</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement