<?php if (!empty($_SESSION['type']) && $_SESSION['type'] == 'employee') { echo "<div id='menubar'>"; echo "<ul id='menu'>"; echo "<li ><a href='employee.php'>Add job</a></li>"; echo "<li><a href='responce.php'>View Responce</a></li>"; echo "<li class='current'><a href='index.php'>job page</a></li>"; echo "</ul>"; echo "</div><!--end menubar-->"; } ?> </div><!--end header--> </div><!--end header--> <br></br> <?php $msg = $control->joblisting(); while ($row = mysqli_fetch_array($msg)) { echo "<div class= 'job-view'>"; echo "<br></br>"; echo "<table width = '75%' align='right'>"; echo "<tr>"; echo "<td colspan='5'>" . $row[0] . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td colspan='5'>" . $row[1] . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>Start Date</td>"; echo "<td>Duration</td>"; echo "<td>Stipend</td>"; echo "<td>Posted On</td>";