Answer the question
In order to leave comments, you need to log in
How to display data from an array according to a certain limit?
There is an array
$array = [
[
'g' => 1,
'n' => 'A'
],
[
'g' => 1,
'n' => 'B'
],
[
'g' => 1,
'n' => 'C'
],
[
'g' => 1,
'n' => 'D'
],
[
'g' => 2,
'n' => 'AA'
],
[
'g' => 2,
'n' => 'BB'
],
[
'g' => 2,
'n' => 'CC'
],
[
'g' => 2,
'n' => 'DD'
]
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question