[PHP] need help converting code to more efficient loop

2002-03-09 Thread Timothy J. Luoma
Hello! I am trying to reduce the size of the code below, which I believe can be simplified. I checked the 'for' entry in the manual as well as googling for some similar code, but did not have any luck. Here is what I have: $ICON_COUNT=0; if ($SHOW_WAI_ICON != no) { $ICON_COUNT++ ;

Re: [PHP] need help converting code to more efficient loop

2002-03-09 Thread Jason Wong
On Saturday 09 March 2002 18:08, Timothy J. Luoma wrote: Hello! I am trying to reduce the size of the code below, which I believe can be simplified. I checked the 'for' entry in the manual as well as googling for some similar code, but did not have any luck. Here is what I have: