Use of php Include in html files

前端 未结 3 1045
感动是毒
感动是毒 2021-01-15 03:10

I\'m having some problems on my website using some php code.
My site is mainly using html and php. Instead of repeating lots of lines of script at the top of every page

3条回答
  •  独厮守ぢ
    2021-01-15 03:52

    All you have to do is change all of the files you are including it to .php files. It will not affect them negatively just the browser will then know to interpret it the php.

    All your formatting will still be valid.

提交回复
热议问题