Notice:use of undefined constant title-assumed ' title ' in F:\wamp\www\load_myweb.php on line 22
Notice:use of undefined constant content-assumed ' content ' in F:\wamp\www\load_myweb.php on line 22
Access to the site will appear a lot like the following tips, but can display and run normally
Notice:use of undefined constant title-assumed ' title ' in F:\wamp\www\load_myweb.php on line 22
(http://img.blog.csdn.net/20160304151937245)
These are PHP hints rather than errors, and PHP itself does not need to declare variables in advance to be used directly, but is prompted for undeclared variables. Generally as a formal website will be the prompt to turn off, even the error message is also turned off
Ways to turn off PHP hints
Search PHP.ini:
error_reporting = E_all
Switch
error_reporting = E_all & ~e_notice
There's another way.
On each file header, add the
error_reporting (0); It's not easy, but it solves the problem!!!!!! This one I like best.
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the PHP run appears notice:use of undefined constant perfect solution, including the aspects of the content, I hope to be interested in PHP tutorial friends helpful.