Scusate, mi dite se c'è qualcosa di errato nella sintassi di questo ciclo:

codice:
$i=0;
		$n=0;
		foreach($_GET[campi] as $value){

		$temp = $_GET["query_".$value]; 
		
		$s=0;
		foreach($temp as $v) {

		
		$arr_temp = explode('|', $v);
		
		$str_prod = $arr_temp[0].'|'.$arr_temp[1].'|'.$arr_temp[2].'|'.$arr_temp[3].'|'.$arr_temp[4];
		$prodotti[$i][$n] = $str_prod;
		$db_prod[] = $str_prod;

		$n++;
		}
		
		$i++;
		}

ha sempre funzionato, ora ho cambiato hosting e non funzia
più.