Found this bit of code that is designed to cause the row color to alternate but I do not understand what $i&1 does. I understand that this is causing the class to alternate but I don't understand what that small piece of code is doing.
Code:
===========================================
// PHP Version
$query = "SELECT Adjective, Noun FROM DrSeussLines";
$result = mysql_query($query);
$i = 0;
print "<table>";
while(($row = mysql_fetch_row($result)) !== false) {
$i++;
print "<tr class=\"d".($i & 1)."\">";
print "<td>".$row[0]."</td>";
print "<td>".$row[1]."</td>";
print "</tr>\n";
}
mysql_free_result($result);
print "</table>";
=====================================