Form đăng nhập và file process.php sử lý Form CODE: Select All <form name="main-form" method="post" action="process.php"> <input type="text" name="email" /> <input type="password" name="password" /> <input type="submit" value="Login" /></form> Sử dụng phương thức POST hoặc GET File process xử lý: CODE: Select All <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><?php $_userName = $_POST["email"]; $_password = $_POST["password"]; $result = ($_userName == "admin" && $_password == "123456") ? "Đăng nhap thanh cong" : "Dang nhap that bai"; echo $result; ?>