0
I need to get the values of the array where you have the photos. I managed to get what you name, but the photos I’m hitting head...rs
Array
Array
(
[0] => Array
(
[0] => Teste 8
[1] => Teste b
)
[1] => Array
(
[0] => avaria_20190614005447368417.jpg
[1] => avaria_20190614005450305809.jpg
)
)
php
<?php
$avariasIni = unserialize($row_rsRegistros['avariasIni']);
foreach($avariasIni[0] as $avaIni => $avaKey) {
echo $avaKey ." = ". $avaIni ."<br />";
}
?>
The variable I’m taking the name is $avaKey
, now I need to get the name of the photo
Victor, it is possible to do with the foreach?
– Tiago
If you can do it with foreach for me it’s better.
– Tiago
@Tiago, I’ll put one Edit to update the response :)
– Victor Carnaval
@Tiago, each value of an array references the value of the other array?
– Victor Carnaval