Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/06/2009, 19:06
Avatar de reyesoft
reyesoft
 
Fecha de Ingreso: abril-2006
Ubicación: San Rafael, Mendoza
Mensajes: 311
Antigüedad: 18 años, 1 mes
Puntos: 15
De acuerdo Respuesta: validar arreglo input type file

Intenta lo siguiente, yo siempre lo hago así:
Código PHP:
$max_no_img=1
echo 
"<table border='0'  cellspacing='0' cellpadding='0' align='left'>";
for(
$i=1$i<=$max_no_img$i++){
echo 
"<tr><td></td><td>
<input type=file name='images"
.$i."' ></td></tr>";
}
echo 
"</table>"
y luego haces
Código PHP:
for($i=1$i<=$max_no_img$i++)
{
  if(empty(
$_FILES['images'.$i]['name']))
  {
     ....
  }

Esto debería funcionarte muy bien. Un saludo...
__________________
Pablo Reyes

Compra/venta saldos PayPal, Skrill, Neteller, Bitcoins, etc.