How do i solve this error?
<table class="table table-striped table-bordered table-hover" id="sample_1"> <thead> <tr> <th style="width:8px;"><input type="checkbox" class="group-checkable" data-set="#sample_1 .checkboxes" /></th> <th>Username</th> <th class="hidden-480">Email</th> <th class="hidden-480">Points</th> <th class="hidden-480">Joined</th> <th ></th> </tr> </thead> <tbody> <?php $con = mysql_connect("localhost","cl49-XXX","XXX"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("cl49-XXX", $con)or die( "Unable to select database"); $result=mysql_query("SELECT * FROM products")or die('You need enter a catagory' ); echo "<tr>"; // first row beginning for ($i = 1; $i <= mysql_num_rows($result); $i++) { $row = mysql_fetch_array($result); $prodname = $row['prodname']; $prodID = $row['prodID']; $catagory = $row['catagory']; echo " <tr> <td><input type='checkbox' class='checkboxes' value='1' /></td> <td>$prodID</td> <td class='hidden-480'>$prodname</a></td> <td class='hidden-480'>$catagory</td> <td class='center hidden-480'><a href=deleteproduct.php?q=$prodID' class='btn mini red'><i class='icon-trash'></i> Delete Item</td> <td ><span class='label label-success'>Approved</span></td> "; echo "</tr><tr>"; // it's time no move to next row } echo " </tr> <tr><td colspan='4'><center><a href='edit_products.php'>View All $count products</a></tr> </table> "; ?> </tbody> </table>