Re: Two color rows in table inside while iteration -- just say no to mod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3 May 2010 08:25, Jochen Schultz <jschultz@xxxxxxxxxxxxxx> wrote:

> > [snip]
>
>  And unless we are adding a multiple seconds to the load time is anyone
>> going to notice a difference of 1 second?
>>
>
> yes
>
>
>
It's really not that big a deal.
http://pastie.org/947121

Personally, I think using modulus is as nice a solution as flipping a bit.
Maybe more elegant since it's extendable to more than 2 states if required.

Michiel

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux