How can I echo HTML in PHP?

后端 未结 13 2444
耶瑟儿~
耶瑟儿~ 2020-11-22 06:40

I want to conditionally output HTML to generate a page, so what\'s the easiest way to echo multiline snippets of HTML in PHP 4+? Would I need to use a template framework lik

13条回答
  •  自闭症患者
    2020-11-22 07:14

    Simply use the print function to echo text in the PHP file as follows:

    
    
          TESTING
    
        
    ') ?>

提交回复
热议问题