Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/10/2013, 10:15
linuxchucho
 
Fecha de Ingreso: octubre-2013
Mensajes: 79
Antigüedad: 10 años, 6 meses
Puntos: 0
Pregunta error en foreach

Hola tengo el siguiente codigo que me genera este error


Warning: Invalid argument supplied for foreach() in /home/kwmitcom/public_html/test/GP1.php on line 41


mi linea 41 es esta!

Código PHP:
        foreach($Fechas1 as $i => $FechaG) { 
mi linea 42es esta!

Código PHP:
        fwrite($fp,"\t\t\t\t\t\t$FechaG\t{$Locali[$i]}\t{$TypeG[$i]}\t{$Moneda[$i]}\t{$Subto[$i]}\t{$Porcentaje[$i]}\t{$Iva[$i]}\t {$Otherim[$i]}\t{$Total[$i]}\t{$Just[$i]}\t{$RFC[$i]}\t{$Factura[$i]}\t{$Proveedor[$i]}\t{$Tpago[$i]}"PHP_EOL);}
        
fclose($fp); 
ayuda por favor