<?php  
//select.php  
if(isset($_POST["employee_id"]))
{
 $output = '';
 $connect = mysqli_connect("localhost", "root", "", "olahdata");
 $query = "SELECT * FROM tatausaha WHERE no_urut = '".$_POST["employee_id"]."'";
 $result = mysqli_query($connect, $query);
 $output .= '  
      <div class="table-responsive">  
           <table class="table table-bordered">';
    while($row = mysqli_fetch_array($result))
    {
     $output .= '
     <tr>  
            <td width="30%"><label>kode klasifikasi</label></td>  
            <td width="70%">'.$row["kode_klasifikasi"].'</td>  
        </tr>
        <tr>  
            <td width="30%"><label>unit kerja</label></td>  
            <td width="70%">'.$row["unit_kerja"].'</td>  
        </tr>
        <tr>  
            <td width="30%"><label>perihal</label></td>  
            <td width="70%">'.$row["perihal"].'</td>  
        </tr>
        <tr>  
            <td width="30%"><label>uraian</label></td>
            <td width="70%">'.$row["uraian"].'</td>
        </tr>
        <tr>  
            <td width="30%"><label>kurun waktu</label></td>  
            <td width="70%">'.$row["kurun_waktu"].'</td>  
        </tr>
		<tr>  
            <td width="30%"><label>asli/copy</label></td>  
            <td width="70%">'.$row["asli_copy"].'</td>  
        </tr>
		<tr>  
            <td width="30%"><label>media</label></td>  
            <td width="70%">'.$row["media"].'</td>  
        </tr>
		<tr>  
            <td width="30%"><label>kondisi</label></td>  
            <td width="70%">'.$row["kondisi"].'</td>  
        </tr>
		<tr>  
            <td width="30%"><label>box</label></td>  
            <td width="70%">'.$row["box"].'</td>  
        </tr>
		<tr>  
            <td width="30%"><label>pengolah</label></td>  
            <td width="70%">'.$row["pengolah"].'</td>  
        </tr>
     ';
    }
    $output .= '</table></div>';
    echo $output;
	
} 
?>