mardi 30 janvier 2018

Get a element inside in a Array

i have some question and i dont know if exist a method for this but ... i have a Array of arrays like that

"JOAO DA SILVA"=> Collection {#172 ▼
   #items: array:2 [▼
    PropostaCliente {#183 ▼
     "NomeCliente" => "JOAO DA SILVA"
     "NumeroPoposta" => "59a9739e25cee-1"
   ]}
   PropostaCliente {#184 ▼
     "NomeCliente" => "JOAO DA SILVA"
     "NumeroPoposta" => "59a9739e25cee-2"
   ]}
"TERESINHA PIRES DALESSE" => Collection {#171 ▼
  #items: array:3 [▶]
}

and with that i am dealing , so ... i need to catch the values ,NomeCliente and NumeroPoposta ... and i know i can do it with two "foreach" but i need the first foreach to catch these values,and that is my question , have some way to catch then ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire