I tried both of your code structures, and they both worked fine, stopping after $sitesperpage fetches from the database. I wonder if there is a bug in the actual code that isn't reflected in the posted code. Perhaps a mispelled variable name or something like that? Are you using -w and use strict?
In reply to Re: Re: Re: Boolean operators and list assignments
by chipmunk
in thread Boolean operators and list assignments
by flymolo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |