PHP error Useofundefinedconstantprop_values-ass.

Source: Internet
Author: User
PHP errors Useofundefinedconstantprop_values-ass... The problem is as follows: what is the cause of the following errors in the PHP program. Notice: Useofundefinedconstantmulti-assumedmultiinwwwusers ***. comtbedittbgoods. p PHP reports error Use of undefined constant prop_values-ass...

The problem is as follows:

What is the cause of the following error in the PHP program.
Notice: Use of undefined constant multi-assumed 'multi 'in/www/users /***. com/tb/edittbgoods. php on line 104 Notice: Use of undefined constant must-assumed 'must 'in/www/users /***. com/tb/edittbgoods. php on line 105 Notice: Use of undefined constant must-assumed 'must 'in/www/users /***. com/tb/edittbgoods. php on line 105 Notice: Use of undefined constant name-assumed 'name' in/www/users /***. com/tb/edittbgoods. php on line 106 Notice: Use of undefined constant name-assumed 'name' in/www/users /***. com/tb/edittbgoods. php on line 106 Notice: Use of undefined constant pid-assumed 'pid 'in/www/users /***. com/tb/edittbgoods. php on line 107

?

This is not an error. it means that your definition is not standard.
If you do not guess correctly, your variable should be $ xxx [multi] = $ xxx. Change to $ xxx ['multi '] = $ xxx; enclose it with quotation marks.

Another solution is to modify php. ini and change error_reporting = E_ALL to error_reporting = E_ALL &~ E_NOTICE. However, we recommend that you use the first solution to standardize as much as possible.

The above is for reference.

?

Original article: http://www.csdn123.net/a/zhidao/20131121pm/195002.htm

?

Related Article

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.