<html>
<head>
<title> Form Input KRS </title>
</head>
<body>
<h3 align="center">Input KRS</h3>
<?php
session_start();
include "connect.php";


$nimmhs = $_SESSION['nim'];
$id=1;
$hasil = mysqli_query($koneksi,"select * from tset where idset ='$id'");
$row=mysqli_fetch_array($hasil);
?>	
<table align="center" frame="border" width="300">
<form method=post action="tampilkrsmhs.php">
<tr><td>
NIM    </td><td><input type readonly="text" name="nim" value="<? echo $nimmhs; ?>"</td></tr>
<tr><td>Semester</td>
<td><select size="1" name ="semester">
	<option selected></option>
	<option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
	<option>5</option>
    <option>6</option>
</td></tr>
  </select></td>
<tr><td>TA</td>
<td><input type = text name ="ta" value="<? echo $row[2]; ?>" style="background-color:#CCFFFF "></td></tr>
<tr><td>
</td>
<tr><td>Kurikulum</td>
<td><input type = text name ="kur" value="<? echo $row[10]; ?>" style="background-color:#CCFFFF "></td></tr>
<tr><td>
<input type =submit value="Submit">
<input type=reset value ="Cancel"></td><td>| <a href=menumhs.php>Kembali</a></td></tr>
</form>

</body>
</html>