Posted by Geoff Berrow on 05/18/07 08:29
Message-ID: <1c10i4-8oj.ln1@ophelia.g5n.co.uk> from Toby A Inkster
contained the following:
>> $row = 1-$row;
>> $color = ($row==0)?"#F5F5F5":"#F0F8FF";
>
>This is bizarre.
I like it. :-)
>$color = (++$row%2 == 1)?'#F5F5F5':'#F0F8FF';
I like that too. I must be easily pleased.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|