What is the best way to insert HTML via PHP?

前端 未结 11 2145
南方客
南方客 2020-12-12 15:26

Talking from a \'best practice\' point of view, what do you think is the best way to insert HTML using PHP. For the moment I use one of the following methods (mostly the lat

11条回答
  •  甜味超标
    2020-12-12 16:31

    Do NOT use smarty - PHP is a templating system in itself. Consider using this syntax:

    
    [SOME MARKUP]
    
    [SOME OTHER MARKUP]
    
    

提交回复
热议问题