Like the first row displayed would be white, the second would be grey and the third would be back to white...
Let's use this code as an example:
Code: Select all
$query = "SELECT * FROM systems";
$mysql_stuff = mysql_query($query, $mysql_link);
while($roc = mysql_fetch_row($mysql_stuff)){
$systemID = $rocї0];
$system_name = $rocї1];
print("<tr><td><div align="center"><a href="editagame-sys.php?systemID=$systemID" target="main">$system_name</a></div></td></tr>");
}What's the best way to achieve this?