Grazie ho risolto avevo per sbaglio scritto $array['foto'] al posto di $array1['foto']
Regole del Forum