norton partitionmagic PHP novice NOTICE error common solutions

WBOY
Release: 2016-07-29 08:47:26
Original
977 people have browsed it

I just learned PHP, and soon I usually read the manual and a book called PHP and mysql web development.
I have been editing the message board recently and I just encountered a problem.
In the page, there are many similar to Notice: Use of undefined constant title - assumed 'title' in D:wampwwwphpmysqlwebbbslist.php on line 17
The page is ugly and confusing. I am using the wamp integration package.
After searching on Baidu, it seems that many friends also have this situation.
Notice means that a variable that has not been declared is used, but the program will not affect its use. No wonder it still works, it just looks unsightly.
There are 4 solutions:
1: Initialize above
2: Open the php.ini file
Modify the configuration file
error_reporting settings:
Find error_reporting=E_ALL
Change to error_reporting=E_ALL & ~E_NOTICE
3: Use include to change error_reporting (E_ALL & ~E_NOTICE);Write it in//This is what Tiantian does, because he is a lazy person and is afraid to open this and that, hehe. . . . .
4: Add error_reporting(0) directly at the top of the file;
I am ready to work on PHP, but when I encounter this strange problem, we have Baidu, Shenma problem, and Baidu has solved it.
Attention, novice friends, when the page reports an error, check the code to see if there are any missing semicolons or brackets. I made those careless mistakes just now, and I feel ashamed.
My path to PHP is destined to be difficult, but I will not give up and must do it well. come on.

The above introduces the common solutions to the NOTICE error of norton partitionmagic PHP novices, including the content of norton partitionmagic. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!