Isn't there null in the post form data? Why does foreach not report an error? ? ? ?
大月半仙狗
大月半仙狗 2018-07-11 10:23:04
0
5
1444

I reported an error like this after executing it

Invalid argument supplied for foreach()

大月半仙狗
大月半仙狗

reply all (3)
The Count of Monte Cristo

The following code has not been written yet. 0 0 You will know after writing the following if statement

    张无言

    I also encountered this problem. Did the original poster solve it?

    无忌哥哥

    It is necessary to make a judgment if it is empty

    • reply Yes, foreach will assign the empty value to 0. Just now, ord was not assigned a value.
      大月半仙狗 author 2018-07-11 11:09:26
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!