PHP - no me coge bien valores array

 
Vista:

no me coge bien valores array

Publicado por carlos (39 intervenciones) el 29/09/2020 10:52:15
1
2
3
4
5
6
7
8
9
10
<?$result1=$_GET['result1']?>
<?$result2=$_GET['result2']?>
 
 
<?php for ($i = 1; $i <=$capacidad ; $i++) {
         ${"contonloadculata".$i}=$result1[($i-1)];
         ${"contonloadtapa".$i}=$result2[($i-1)];
         echo${"contonloadculata".$i};
         echo${"contonloadtapa".$i};
}?>

RESUELTO CON EXPLODE
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder