One of the most useful things you may need when iterating through an array is to know whether or not there is another element after the current and in some cases you’ll want to know what the next element is. It’s actually not that hard to do, thanks to the PHP CachingIterator. I have provided a sample snippet below showing what can be done with it.
Navigation
Tag Cloud
ajax Android backup chrome chromium cloud Code css3 Database Design dev Directory Iterator dns dropbox Essential Tools Facebook Time google google-chrome google-gears Image Rollover Java javascript jquery linux memcached MVC mysql new website OS Photoshop Brushes PHP Preloader Recursion Relative Time teamspeak Templating TinyMVC tutorial Twitter Twitter Time Validation Wordpress Wordpress 2011 Wordpress Plugins xhtmlRecent Posts
Developer Links
Search
