> # QUERY THE DB FOR STATUS CODES TO BE RESOLVED AND ASSIGN TO AN ARRAY > $counter = 0; > while ($sth->fetchrow_arrayref) { > # SET THE ROW COLOR. ODD IS LIGHT SILVER, EVEN IS WHITE > if (($counter % 2) == 0) { > $bgColor = "E0E0E0"; > } else { > $bgColor = "FFFFFF"; > } > I'm not sure where you are incrementing $counter, but you could just use that or something like it to decide when to start a new page, right?
-Mark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]