porque quieres hacerlo asi se ve horrible, anteriormente te mencionaron trabajar con arreglos porque no haces esto
Código PHP:
Ver original$i = 1;
foreach($_POST["idtercero"] as $ind => $dato){
$arr["reporte_$i"] = $dato;
/*
$arr["reporte_$i"] = $dato;
$arr["reporte_$i"] .= $dato;
o mejor asi con solo el indice
$arr[$i] = $dato;
o asi
$arr[$i]["reporte"] = 'Esto';
$arr[$i]["reporte"] .= ' es otro texto';
*/
$i++;
}
es solo un simple aporte
suerte