Why does my PHP appear to be commented out when I view it in the browser? <!--?php include(“header.php”); ?-->

前端 未结 5 736
感情败类
感情败类 2020-12-21 15:26

I am building a html page but want to break the header out so I dont have to keep changing all the files.

I am attempting to add a php.include file and save the pag

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-21 16:13

    Your Script header.php must begin with " < ? php ' and finish with ' ? > ' and go to the php settings and uncheck 'short open tag'.

提交回复
热议问题