How to include static html in php/smarty

前端 未结 4 496
独厮守ぢ
独厮守ぢ 2021-01-13 14:49

I have been asked to include some html snippet in this php/smarty page. It\'s basically a sales agreement at the end of an overview page before you pay.

What is the

4条回答
  •  温柔的废话
    2021-01-13 15:19

    If you are trying to include some code containing javascript or similar, you can use {literal}{/literal} tags to inlude a file you can use {include file="htmlfile.html"} as Tom said.

提交回复
热议问题