LIKE operator with $variable

后端 未结 6 2000
有刺的猬
有刺的猬 2020-12-18 13:24

This is my first question here and I hope it is simple enough to get a quick answer!

Basically, I have the following code:

$variable = curPageURL();
         


        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-18 13:51

    As to why you're not being notified of the syntax error: It's fairly likely that your error reporting settings aren't set up correctly.

    Open php.ini and make sure the following is set:

    display_errors = On
    

    And:

    error_reporting = E_ALL
    

提交回复
热议问题