Norton PartitionMagic PHP Novice Notice Error Common workaround

Source: Internet
Author: User
Tags php and mysql
Just learning PHP, soon, generally look at the manual, and a book called PHP and MySQL Web development.
Recently in the whole message board, just met a problem.
Page, much like notice:use of undefined constant title-assumed ' title ' in D:\wamp\www\phpmysqlweb\bbs\list.php on line 17
Page is very difficult to see, very tangled ah, I use the Wamp integration package.
Baidu, it seems that a lot of friends also have this situation.
Notice means that no declared variables are used, but the program does not affect the use. No wonder it works, it's unsightly.
There are 4 solutions:
1: Initialize on top
2: Open php.ini file
Modifying a configuration file
Error_reporting settings:
Find Error_reporting=e_all
Modified to Error_reporting=e_all & ~e_notice
3: Use the include to put Error_reporting (E_all & ~e_notice); write in//the sky is so dry, because it is a lazy person, afraid to open this one, hehe.
4: Add a error_reporting (0) directly to the top of the file;
Ready to make a good php, but in the face of this strange problem, but also we have Baidu, God horse problem, under Baidu, have solved.
Novice friends Notice, when the page report what error, check the code, whether missing semicolons or parentheses, just now I made those careless problems, ashamed.
My path to PHP is doomed to be difficult, but I will not give up, must do well. Come on.

The above describes the Norton PartitionMagic PHP Novice Notice error common solution, including the Norton PartitionMagic aspect of the content, I hope to be interested in PHP tutorial friends helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.