Notice: Use of undefined constant title - assumed 'title' in D:\wamp\www\99Pursey\left.php on line

来源:互联网 发布:nginx怎么配置ssl证书 编辑:程序博客网 时间:2024/05/17 07:43

最近因为项目的需要,开始学习php,在学习别人案例的时候会碰到这个提示,本人用的是wamserver集成,在运行的时候会出现:

Notice: Use of undefined constant title - assumed 'title' in D:\wamp\www\99Pursey\left.php on line46

Notice: Undefined variable: tmpstr in D:\wamp\www\99Pursey\JS\function.php on line 17

等等的一些信息,在网上找了一下,其实不是报错信息,而是系统设置的提示信息而已!

解决的办法有:

    

搜索php.ini:

  error_reporting = E_ALL

  改为:

  error_reporting = E_ALL & ~E_NOTICE

原创粉丝点击