url:?goods[]=924&goods[]=967&goods[]=993
<?php if($_GET){
print_r($_GET);
}
result:Array ( [goods] => Array ( [0] => 924 [1] => 967 [2] => 993 ) )
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