if ( 1 == $row_count % 2 ) { echo "<tr><td>$data</td></tr>"; } else { echo "<tr><td class='shade-1'>$data</td></tr>"; }