for($i=0;$i<$numrows;$i++){
$sql_insert_group="insert into shop_group (shop_group_id,zp_pref,num_unit,shop_id)values('','$zp_pref[$i]','$shop_pro_price[$i]','".$_SESSION['shop2']."')";
$result_group=mysql_query($sql_insert_group)or die("Insert group Error");
}