我想在我的网站上展示一些价值。该值声明为:
{$statistics.cashout}
我如何获得它的价值,并将其转化为
{fetch file='https://blockchain.info/tobtc?currency=USD&value=$statistics.cashout' assign='btc'}
像这样,我尝试过,但不起作用。。。
感谢
使用串联过滤器(或者它们在smarty中被称为其他东西?已经有一段时间了):
{fetch file='https://blockchain.info/tobtc?currency=USD&value='|cat:$statistics.cashout assign='btc'}