ing Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 2:26 PM
To: Jerry Lake
Cc: [EMAIL PROTECTED]
Subject: Re: RE: RE: [PHP] cell iterations in loop
ah, i got it...
ok, try this:
$length is arbitrary...
$x is your counter...
do the loop as before, but each time through the loop, $loopcount++;
So, if you do the loop 5 times, $loopcount == 5.
Then, at the end, $length - ($loopcount*$x) gives you the amount of 's to
echo. Put another for loo
2 matches
Mail list logo