There are two arrays: $images and $count , you need to create one array where there is such an architecture
$Arr( [0] -> Arr([0] -> $images = 'mda.jpg', [1] -> $count = '5') [1] -> Arr([0] -> $images = 'takoe.jpg', [1] -> $count = '6') ) There are two arrays: $images and $count , you need to create one array where there is such an architecture
$Arr( [0] -> Arr([0] -> $images = 'mda.jpg', [1] -> $count = '5') [1] -> Arr([0] -> $images = 'takoe.jpg', [1] -> $count = '6') ) Source: https://ru.stackoverflow.com/questions/700574/
All Articles
$imagesand$count: keys and values. And what result array do you want to get. Examples of how it looks can be viewed in the documentation - Arrays . Pay attention to the syntax of the programming language . - Alexander Bragin