PHP number range menu from array

Posted by Julious on Stack Overflow See other posts from Stack Overflow or by Julious
Published on 2010-05-07T19:46:47Z Indexed on 2010/05/07 19:48 UTC
Read the original article Hit count: 115

Filed under:

Hello people! I'm a bit confused here. I have a php array like this Array(2010,2009,2008 ...1992) and i want to create a loop to print a menu with a four year range counting down like this 2010-2006 2005-2001 2000-1996 etc.. How can i do this> Everything i tried end up in an endless loop. THnx in advance. J.

© Stack Overflow or respective owner

Related posts about php