thomashw Posted January 6, 2008 Share Posted January 6, 2008 Can someone explain to me exactly what this is saying? if ($counter%3==0&&$counter!=0) Link to comment https://forums.phpfreaks.com/topic/84706-the-if-structure/ Share on other sites More sharing options...
dolcezza Posted January 6, 2008 Share Posted January 6, 2008 I think it says if counter divided by 3 has a remainder of 0 (or divisible by 3) and counter does not = 0. % = modulus Modulus is the remainder after the division operation has been performed. Link to comment https://forums.phpfreaks.com/topic/84706-the-if-structure/#findComment-431691 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.