in reply to alternating row colors

Something like :
$color = ( $bool = ! $bool ) ? "#AAAAAA" : "#DDDDDD";
Only single line ... and it's maybe somewhat efficient =) ( no matter here )
_____________________
Hope this helps