In my php foreach array want to control on showing no of items

I got some issue I wan to control my for each array I have multiple arrays but I wan to show an only specific number of item in that every array what to do
here is the link
note: This array data is not come from the database otherwise I use limit but its hardcode array

Hello @classstatus0. Giving us the link to your site isn’t going to help anyone to help you. We need to see your PHP code.

i don’t really get what you mean, but referring to limit you may want to use array_slice, it works similar

ok thanks, I will try array_slice