<?php
	//Connects to your Database
	include "../db_connection/db_connection.php";
	include "../config/config.php";		
	                    
	
		
		$mat_name		=	$_POST['mat_name']; 
		
		$INSRT		= "INSERT INTO master_mat(`master_mat_name`, `post_dt`) VALUES ('$mat_name','$cur_time')";
		$QURY		= mysqli_query($connect,$INSRT);	
		
?>
		<script type="text/javascript">
            //alert("Data inserted successfully");
            //history.back();
            window.location='../master_mat_list.php';
        </script>
		
	
