function returning only once, why?

后端 未结 1 1360
耶瑟儿~
耶瑟儿~ 2021-01-23 09:28

During my coding I really got stuck into this problem. I ran a foreach loop and for every item I had to get a certain value from a function. But I got only one ret

相关标签:
1条回答
  • 2021-01-23 09:43
      if($pid!=0)
      {
                get_parent_id($table,$parent,$pid);
    
      }
    

    You call the function, but never use its value.

    0 讨论(0)
提交回复
热议问题