Hey, im trying to create a table that shows information from a database... I also want the odd numbered rows to be one color and the rest to be another color. Does anyone know how i could do this?. Ive included the part of the code im trying to do this with.
<?
$Link = mysql_connect ($Host, $DBUser, $DBPass);
$Query = "SELECT * from Courses WHERE software $SoftSign '%$Software%' AND location $LocSign '%$Location%' AND descrip LIKE '%$Keywords%' ORDER by $Sort LIMIT $limit,10";
$Result = mysql_db_query ($DBName, $Query, $Link);
while ($info = mysql_fetch_array($Result)) {
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC">
<? print("$info[title]"); ?>
</td>
</tr>
</table>
<?
}
?>