to all guru
Is this correct in getting a remainder if ($items %mod 2==0) { blah blah blah } else {$blah blah blah}
oopss sorry i already solved it
<? for ($x=9;$x<20;$x++) { if ($x % 4==0) echo "okay<br>"; else echo "failed<br>"; } ?>
thankss
if ($intNum % $modNum ) { dosomething(); } it works