Undefined offset while accessing array element which exists

后端 未结 7 1299
日久生厌
日久生厌 2020-12-15 04:03

I have an array and PHP and when I print it out I can see the values I need to access, but when I try accessing them by their key I am getting a PHP Notice. I printed the ar

7条回答
  •  眼角桃花
    2020-12-15 04:27

    Just put error_reporting(0); in you method or at start of file. It will solved your issue.

提交回复
热议问题