 <div id="content">

  <div  class="data">

<table id="example"  cellspacing="1" class="table  table" width="100%">
             <thead>
         <tr>
    
     <th>Posted by</th>
     <th>Contact</th> 
        <th>Email</th>     
        <th >Date created</th> 
    <th>description</th>         









                 </tr>
             </thead>

             <?php 
  
    foreach ($contact as $c): 


             ?>



             <tr>
                
            
      <td><?php echo $c->firstname; ?></td> 
      <td><?php echo $c->contact; ?></td> 
<td><?php echo $c->email; ?></td> 
      <td><?php echo $c->createddate; ?></td>        
 <td><?php echo $c->description ; ?></td>
               
         
             </tr>

             <?php endforeach; ?>

        </table>










</div>



</div>