Re: repeat region
| From: | Bastian Vogt | Date: | Thu, 19 Dec 2002 09:11:47 +0000 |
| Subject: | Re: repeat region | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128817@lists.php.net to get a copy of this message | ||
From the manual:
example: $a % $b
name: Modulus
value: Remainder of $a divided by $b.
Not from the manual:
example2: 47 % 5
value2: 2
HTH,
Bastian
> Jeff or anyone,
>
> Ok, I'll bight. What are you doing with the % and %7 ?
>
> > $idx=1;
> > echo(<TR>)
> > while(fetch_rows) {
> > printf("<TD>%s</TD>, ID);
> > if($idx%7=0) {echo('</TR><TR>'}
> > ++$idx;