Why is my PHP multi dimensional array not working?

前端 未结 4 1948
萌比男神i
萌比男神i 2021-01-16 12:26

My multi-dimensional array is working. But I cannot seem to use explode or in_array to limit the array when calling via $_GET

4条回答
  •  余生分开走
    2021-01-16 12:59

    Updated

    Solution 1

       ".$col."
  • "; } } if($lis != "") { echo "
  • The row number $row"; echo "
      "; echo $lis; echo "
    "; echo "
  • "; } } ?>

    Solution 2

    ".$col."";
                }
        }
        
        if($lis=="") {
            
                echo "$row";
            
        } else {
            
                echo $lis;
            
        }
    }
    
    ?>
    

提交回复
热议问题