Good afternoon. I am having trouble displaying the data in a form, where it can have multiple addresses and within these addresses can have several involved. I tried something like:
foreach($input[endereco] as $key => $endereco){
foreach($input[envolvidos] as $envolvidos){
echo $endereco.' - '$envolvidos[$key].'<br>';
}
}
But so, if you have 2 addresses, it will only show 2 involved and it will not matter if it is the first one or the second.