我有一个 PHP 模板文件,其中包含以下代码:
<td class="redfont">
<strong><?=$fees->display_amount($item_details['start_price'], $item_details['currency']); ?></strong>
我想做的是添加这样的东西if the start_price == 0
然后display_amount应该显示0。
现在display_amount显示-_ start_price_0
有什么帮助吗?