只是想配合一些教程!无法弄清楚为什么我在表单操作行上出现错误
<?php
if (isset($_POST['Username'])&&isset($_POST['password'])) {
$username = $_POST['Username'];
$password = $_POST['password'];
if (!empty($Username)&&!empty($password)) {
echo 'OK';
} else {
echo 'You must supply an email and a password.';
}
?>
<form action="<?php echo $current_file; ?>" method="POST">
Email: <input type="text" name="username"> Password: <input type="password" name="password">
<input type ="submit" value = "Log In" />
</form>