Код: Выделить всё
$array1 = ['section2', 'section3', 'section1'];
$array2 = ['content for section1', 'content for section2', 'content section3'];
Так что я думаю Я спрашиваю, как я могу сделать $ array1 отобразить следующее ....
Код: Выделить всё
content for section2
content for section3
content for section1
Подробнее здесь: https://stackoverflow.com/questions/371 ... rray-which