<?php
	include "php_class/class_mysql.php";
	include "php_class/class_grup.php";
	include "php_class/class_semesterpendek.php";
	
	$datasp = new DataSemesterPendek;
	
	$idmatakuliah = $_POST['idmatakuliah'];
	$matakuliah = $_POST['matakuliah'];
	$sks = $_POST['sks'];
	$kode = $_POST['kode'];
	$jurusan = $_POST['jurusan'];
	
	$datasp->edit_mata_kuliah($idmatakuliah, $matakuliah, $sks, $jurusan, $kode);	
	 echo "<script>window.location='".$base."data-mata-kuliah'</script>";
?>
