How do I figure out if a number is a multiple of 4? Every fourth result I want it to show special code, but not for the other 3. (It is pertaining to tables and creating a new <tr> after every fourth image)
Thanks.
Well, the modulus operator would be easiest
if(($x % 4) == 0) { // divisable by 4 }