Simple PHP echo code not working

后端 未结 9 1027
感情败类
感情败类 2020-12-03 17:08

Here is my html with a php script:

  
      
    Bob\'s Auto Parts
  
  

        
9条回答
  •  旧巷少年郎
    2020-12-03 17:25

    Make sure that you are using and not shorthand since that may be disabled on your server. This will cause the output of "; ?> as it happened to me a few months ago in a transition to PHP5.

    I've only seen the odd output like this when the PHP parser isn't detecting it as PHP. Make sure to check that PHP is functioning as expected and that the tag is being recognized.

提交回复
热议问题