<?php
include "../class/classip.php";
$ap = new jet();

$Username = $_POST['Username'];
//echo "<br>Username: {$_POST['Username']}"

$Password = $_POST['Password'];
//echo "<br>Password:  {$_POST['Password']}"

$Remember_me = $_POST['Remember_me'];
//echo "<br>Remember_me: {$_POST['Remember_me']}"

//echo "INSERT INTO 'users' VALUES('${Username}','{$Password}','{$Remember_me}')";

$ap->query("Users","INSERT INTO Users(Username,Password,Remember_me) VALUES('{$Username}', '{$Password}', '{$Remember_me}')");

////////////////////////////////////////////////

//$ap->query("Users","INSERT INTO `Users`(`Username`,`Password`,`Remember_me`)");

?> 
<script>
    alert("Login Successful");
    window.location.href = '../index.php';
</script>