check associative array contains value

后端 未结 5 1683
粉色の甜心
粉色の甜心 2021-01-26 01:27
    Array (    
    [0] => Array ( 
               [questionID] => 47
               [surveyID] => 51
               [userID] => 31 
               [question         


        
5条回答
  •  旧时难觅i
    2021-01-26 02:14

    foreach($mainarray as $array ){ //check for each 
      if($array['required']==1)
       //doSome Task
      if($array['required']==0)
    

提交回复
热议问题