php get传递数据

url:?goods[]=924&goods[]=967&goods[]=993

<?php  if($_GET){
            print_r($_GET);
  }

result:Array ( [goods] => Array ( [0] => 924 [1] => 967 [2] => 993 ) )

原文地址:https://www.cnblogs.com/nerrissa/p/5000666.html