我有以下facebook sharer.php
脚本在Facebook页面选项卡应用程序上运行。直到我尝试使用使用Facebook显示货币符号sharer.php
htmlentities(money_format("%10.2n", $numrows[price]))
有趣的是添加一个货币符号 份额的伟大工程,这个股权是一个页面还有currecny符号上,而currecny符号可以正确显示
这里是完整的代码。提前
<?php
$title=urlencode(''.$numrows['title'].' | '. htmlentities(money_format("%10.2n", $numrows[price])).' '.$currency_code.'');
$url=urlencode(''.$token.'');
$summary=urlencode(''.$numrows['description'].'');
$image=urlencode(''.$numrows['img1'].'');
?>
<a id="button" 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=550,height=400');" target="_parent" href="javascript: void(0)">
<input type='submit' class='btn' title='Share This Item With Friends' value='Share On Facebook'></form>
</a>
谢谢,这已经快把我逼疯了数天的现在