authority management
P粉944793232
P粉944793232 2022-09-21 12:47:57
0
3
870

Teacher, I cannot loop through the array in the children loop. The error is that the array is undefined. I have typed it several times according to the teacher’s code. Please give me an answer. Thank you teacher1.png2.png3.png

P粉944793232
P粉944793232

reply all(1)
欧阳克

There is a menu here, there may be a problem. Menu Datasheet to have a look. Is it that id and fid do not correspond? If not, add me on qq

  • reply Teacher, how many QQ do you have?
    P粉944793232 author 2022-09-21 17:05:16
  • reply When printing the menu data in the background, there is a children array, which is rendered to the front end. When looping the parent ID, the data is rendered. When the second layer is looped, it is displayed that there is no array, the children array.
    P粉944793232 author 2022-09-21 17:19:49
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!