Proper way of printing variable only if exists, in .tpl smarty file

前端 未结 0 1607
隐瞒了意图╮
隐瞒了意图╮ 2021-01-02 04:26

Is there any smart way to deal with "undefined" or "undefined index" while printing variables in .tpl files? I know I can check every time with

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题