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) Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/84706-the-if-structure/#findComment-431691 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.