<?php

$db_emp = new MySQLDatabase();
$session = new Session();
$sql_emp = "SELECT * FROM employment WHERE applicant_id=" . $session->applicant_id;
$result_emp = Employment::find_by_sql($sql_emp);
//print_r($result_emp);
?>
<form action="" method="POST" class="employment_details" >

	<!-- Beginning of Employment Detais -->
	<table class="table table-hover">
	  <caption><h3>Employer Details</h3></caption>
	  <thead>
		<tr>
		   <th>S/N</th>
		  <th>Employer Name</th>
		  <th>Year of Employment</th>
		 <th>
		 	<div class="control-group"> 
				<div class="controls">
		 			Employer Address
		 		</div>
		 	</div>
		 </th>
		</tr>
	  </thead>
	  <tbody id="details_of_employment">
	  		<?php 
if (empty($result_emp)) {
    ?>