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.