Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
日付である $order->date_add に、追加の日数を追加したい。日数は変数 $order->days にあります 私はこのようなコードを持っています
{$order->date_add|cat:' +60 days'|date_format:"%d-%m-%Y"}
しかし、番号 '60' を変数 $order->days に置き換えたいです。残念ながら、php ではできません。smarty で作成する必要があります。出来ますか?その60を変数に置き換える方法は?