<html xmlns="http://www.w3.org/1999/xhtml"> 
<?php
error_reporting(0);
?>  
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
	<meta http-equiv="Refresh" content="0; URL=DATASET.php"> 
    <meta name="description" content="" />
    <meta name="author" content="" />
    <!--[if IE]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <![endif]-->
    <title> KLASIFIKASI STATUS EKONOMI</title>
    <!-- BOOTSTRAP CORE STYLE CSS -->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FONTAWESOME STYLE CSS -->
    <link href="assets/css/font-awesome.min.css" rel="stylesheet" />
    <!-- PRETTYPHOTO STYLE CSS -->
    <link href="assets/css/prettyPhoto.css" rel="stylesheet" />
    <!-- CUSTOM STYLE CSS -->
    <link href="assets/css/style.css" rel="stylesheet" />    
    <!-- GOOGLE FONT -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />

</head>
   
 <body> 
<?php
include 'koneksi.php';
	$no=$_POST['no'];
	$x1=$_POST['x1'];
	$x2=$_POST['x2'];
	$x3=$_POST['x3'];
	$x4=$_POST['x4'];
	$yt=$_POST['yt'];
	//$sql9 = mysql_query("TRUNCATE TABLE datapredik");	
	$query = "INSERT INTO dataset(no,x1,x2,x3,x4,yt) VALUES('$no','$x1','$x2','$x3','$x4','$yt')";
			   $hasil = mysql_query($query);
			   
			   ?>
			   </body></html>