<?php /* ================================================================================ REQUEST OF LOGIN -> GET VALUES WITH AJAX author : ELihu Alejandro Cruz Albores version : 1.0.4 ================================================================================ */ //Get user data $name_user = $_POST['name']; $pass_user = $_POST['password']; //echo $name_user."-s-<br>"; //echo $pass_user."-e-<br>"; include "../UserDB.php"; //Instance $Conection = new UserDB("WebProject", "localhost", "root", " "); $data = $Conection->isUser($name_user, $pass_user); echo $data;