i have this array
array [
U => [],
V => [],
W => [],
X => [],
Y => [],
Z => []
];
The array depicts a list of items that are shown on the page. I only want to show array items that follow the current item,
for example, if i was on item V , i only want to see
W => [],
X => [],
Y => [],
Z => []
One possibility is to increment a letter key. For example:
$current = 'V';
for ($letter = ++$current; $letter != 'AA'; $letter++) {
// show the item at $array[$letter];
}