Replace this whole lot:
while($row=mysql_fetch_array($run)){
echo $e_num = $row['e_no'];
echo $e_name = $row[1];
echo $e_address = $row[2];
echo $e_country = $row[3];
echo $e_email = $row[4];
echo $e_id = $row[5];
echo $e_cat = $row[6];
echo $e_salary = $row[7];
}
?>
<tr>
<td><?php echo $e_num; ?></td>
<td><?php echo $e_name; ?></td>
<td><?php echo $e_address; ?></td>
<td><?php echo $e_country; ?></td>
<td><?php echo $e_email; ?></td>
<td><?php echo $e_id; ?></td>
<td><?php echo $e_cat; ?></td>
<td><?php echo $e_salary; ?></td>
<td>Edit</td>
<td>Delete</td>
<td>Details</td>
</tr>
<?php } ?>
with the following while loop like this:
while($row=mysql_fetch_array($run)){
echo '<tr>';
echo '<td>'.$row['e_no'].'</td>';
echo '<td>'.$row[1].'</td>';
// etc...etc...
echo '<td>Edit</td>';
echo '<td>Delete</td>';
echo '<td>Details</td>';
echo '</tr>';
}
?>
to construct each row (tr) at every loop.