Thread
:
odd or even
View Single Post
#
3
(
permalink
)
09-29-2008, 06:25 AM
jungli
Registered User
Join Date: Sep 2008
Posts: 7
Quote:
if((count($spanId[$i]) % 2) == 0)
I think it will ==1
e. g. 2/2=1
4/2=2 if no. is divide one time with 2 then it is even otherwise it is odd.
jungli
View Public Profile
Find all posts by jungli