i am trying to insert a sleep command in my loop every 100 rows, the below works for every 2 but if i try to sleep every 100 rows it will not work.
what might i be doing wong?
works
if($i % 2) {
sleep(5);
}
does not work
if($i % 100) {
sleep(5);
}
[/php