What is the best practice to use when using PHP and HTML?

后端 未结 9 919
梦毁少年i
梦毁少年i 2020-11-30 04:52

I have been designing websites for a while now, but there is one thing that I have never been quite sure of when using PHP and HTML. Is it better to have the whole document

9条回答
  •  一整个雨季
    2020-11-30 05:39

    The second method is what I usually use. And it was the default method for me too. It is just to handy to get php to work inside html rather than echo out the html code. But I had to modify the httpd.conf file as my server just commented out the php code.

提交回复
热议问题