Quantcast
Channel: PHP array next value of a value - Stack Overflow
Viewing all articles
Browse latest Browse all 4

PHP array next value of a value

$
0
0

How to get next value of a value from array.I have one array like this

 $items = array('1'   => 'two','9'   => 'four','7' => 'three','6'=>'seven','11'=>'nine','2'=>'five');

how to get next value of 'four' or 'nine'.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>