Ver Mensaje Individual
  #10 (permalink)  
Antiguo 05/09/2007, 09:19
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Re: Pasar arreglos por $_post

Considerando tu POST original puedes hacerlo asi:
Código PHP:
echo "<form action=\"modificar.php\" method=\"post\" >";
echo 
"<INPUT type=\"submit\" name=\"si\" value=\"si\" >";
echo 
"<br>";
echo 
"<INPUT type=\"submit\" name=\"no\" value=\"no\" >";
$ides=$_POST["ides"];
foreach( 
$ides as $id ) {
echo 
"<input type=\"hidden\" name=\"ides[]\" value=\"$id\" />";
}
echo 
"<center>";
echo 
"</form>"
Saludos.