People, I need help, look at the examples below:
$cores = array (‘vermelhas’,’amarelas’,’verdes’)
$ frutas = array(
array (‘maçã’,’morango’,’cereja’,’acerola’),
array (‘banana’,’melão’),
array (‘abacate’,’kiwi’,’pera’))
I need to display the above arrays and then the multi-dimensional arrays in list format, they should be displayed as the example below, using for or foreach:
Vermelhas
• maça
• morango
• cereja
• acerola
Amarelas
• banana
• melão
Verdes
• abacate
• kiwi
• pera