<?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->add_mata_kuliah($matakuliah, $sks, $jurusan, $kode);	
	 echo "<script>window.location='".$base."add-mata-kuliah'</script>";
?>
