<table> <thead> <tr> <th>Name</th> <th>email</th> <th>Landlord</th> <th>Landlord</th> </tr> </thead> <tbody> <?php $result = $lender->getLenders(); while ($row = mysql_fetch_array($result)) { ?> <tr> <td width="300px"><?php echo $row['name']; ?> </td> <td width="300px"><?php echo $row['email']; ?> </td> <td><a href="lenders.php?edit=<?php echo $row['id_lender']; ?>