I called index. php for half a day today. Code, It took a lot of effort, and even put others' Source codeIt's all taken, but it still doesn't work. Finally, I followed it by myself. ProgramThe problem is not found here, but in editwishlist. in PHP, in editwishlist. PHP has a line of code: array_key_exists (mixed $ key, array $ search) is wrong, and the default error handling on this page is to return to the home page, because the local execution speed is too fast, the error is still indicated by index. PHP. Today's gains: (1) array_key_exists (mixed $ key, array $ search); this is the write drop ~ (Example: If (! Array_key_exists ("user", $ _ Session) (2) as Mr. Yang said, when debugging a program, echo settings are critical and debugging can be considered during programming.
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