[PHP] Swapping background color

2001-08-29 Thread Alnisa Allgood
I'm not certain if this is more an HTML question or a PHP issue, but... I'm creating an account management system, where each client can have multiple accounts, each account can have multiple users, and each user can make multiple requests. I've created a SQL Query that returns a list of all

Re: [PHP] Swapping background color

2001-08-29 Thread Miles Thompson
In the generated HTML produced by your WHILE statement you can alternate colours. Here's one approach ... the code is bounded by table tags not seen here, the query has been executed and assigned to $result: while( $row = mysql_fetch_array( $result ) ) { if( ( $nCounter++ % 2 ) == 0 )