I'm not sure I understand what you want.
You mean you write out what you find between each two times your criteria is
met ?
Luis
- Original Message -
From: "Gerardo Rojas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 2:57 PM
Subject: [PHP-WIN] Looping prob
D]
Subject: RE: [PHP-WIN] Looping problem
Here's something I'd do:
$tmp = 1;
for(loopconditions){
[do stuff];
if($tmp > 1){
iterations is not the first time through
} else {
this is the first iteration of the loop
}
$tmp++;
}
-M
-Original Message-
From
Forget my previous response, I misread your post...
-Original Message-
From: Croskerry, Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Looping problem
Instead of testing whether or not it is the first time through
: RE: [PHP-WIN] Looping problem
I don't want to break from the loop. I want to loop the entire file. The
problem is: the first time i find a match = i do nothing, append to array.
the second, third, fourth, and so on = I write the array, clear it and
append to it.
-Original Me
ent: Thursday, September 25, 2003 10:04 AM
To: Herhuth, Ron; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Looping problem
I don't want to break from the loop. I want to loop the entire file. The
problem is: the first time i find a match = i do nothing, append to array.
the second, third, four
ailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:08 AM
To: Gerardo Rojas
Subject: Re: [PHP-WIN] Looping problem
Can't you just insert a "Break;" when condition are met? This will break
out of the loop.
Ron
>From: Gerardo Rojas
>To: [EMAIL PROTECTED]
>S