<table align="left" style="width: 764px">
<tr>
<td>
<?php
$con =mysql_connect("localhost","root","");
mysql_select_db("administration",$con);
$list=mysql_query("SELECT * FROM cycles");
echo "<table border=1>";
echo "<tr>" ;
echo "<td align=center style='color:red'>CID</td>";
echo "<td align=center style='color:green'>Brand</td>";
echo "<td align=center style='color:red'>Type</td>";
echo "<td align=center style='color:green'>Style</td>";
echo "<td align=center style='color:red'>Model</td>";
echo "<td align=center style='color:green'>Gear No</td>";
echo "<td align=center style='color:red'>Frame</td>";
echo "<td align=center style='color:green'>Group Set</td>";
echo "<td align=center style='color:red'>Price</td>";
echo "<td align=center style='color:green'>Release Date</td>";
echo "</tr>";
$bg = '#eeeeee'; // Set the background color.
while($row=mysql_fetch_array($list))
{
$bg = ($bg=='#eeeeee' ? '#ffffff' : '#eeeeee');
echo "<tr>" ;
echo "<td align=center>".$row['cycleID'] ."</td>";
echo "<td align=center>".$row['brand']."</td>";
echo "<td align=center>".$row['type']."</td>";
echo "<td align=center>".$row['style']."</td>";
echo "<td align=center>".$row['model'] ."</td>";
echo "<td align=center>".$row['gearNo']."</td>";
echo "<td align=center>".$row['frame']."</td>";
echo "<td align=center>".$row['groupSet']."</td>";
echo "<td align=center>".$row['price']."</td>";
echo "<td align=center>".$row['releaseDate']."</td>";
echo "</tr>";
}
echo "</table>";
?>
</td>
</tr>
</table>
The code from line 23 - 26 is not functioning. Please help.