<html>
<body>
<h3 align="center">Input KRS</h3>
<?php
include "connect.php";
$id=1;
$query = "select * from tset where idset ='$id'";
$hasil = mysql_query($query);
$row=mysql_fetch_array($hasil);
?>
<table align="center" frame="border" width="300">
<form method=post action="tampilkrs.php">
<tr><td>
NIM    </td><td><input type=text name="nim"</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[1]; ?>" style="background-color:#CCFFFF "></td></tr>
<tr><td>
<input type =submit value="Submit">
<input type=reset value ="Cancel"></td></tr>
</form>
</body>
</html>

