itsavmz
Usuario Novato
Usuario Novato

este es el codigo de enviar_arreglo.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="es-mx" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>ENVIAR ARREGLO</title>
</head>
<body>
<?PHP 
  $num[0] = "Domingo";
  $num[1] = "Lunes";
  $num[2] = "Martes";
  $num[3] = "Miercoles";
  $num[4] = "Jueves";
  $num[5] = "Viernes";
  $num[6] = "Sabado";
?>
   <form action="imprime_arreglo.php" method="post">
     <input name="var" type="hidden" value='<?php echo serialize($num); ?>'/>
     <input name="ENVIAR" type="submit" value="ENVIAR" />
   </form>
</body>
</html>

este es el codigo de imprime_arreglo.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Sin título 2</title>
</head>
<body>
</body>
</html>

<?php
         $NOMBRES3 = unserialize($_POST['var']);
         echo"".$NOMBRES3[0];
         echo"<br>".$NOMBRES3[1];
         echo"<br>".$NOMBRES3[2];
         echo"<br>".$NOMBRES3[3];
         echo"<br>".$NOMBRES3[4];
         echo"<br>".$NOMBRES3[5];
         echo"<br>".$NOMBRES3[6]; 
?>

ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 03/Ago/2008, 01:17
pablodebernal Torry_II1883Aug/08
Por: , el 18/Dic/2004, 15:05
silverm00n Torry_II1632Dec/04
Por: , el 18/Sep/2004, 00:12
king20210919Sep/04
Por: , el 12/Jul/2004, 08:26
CoLLiOz User 11897602914Jul/04
Por: , el 05/Sep/2003, 14:21
Zaptordos NoSetup.org1707Sep/03