Login OOP
<?php
include('LoginWeb.php');
?>
<html>
<head>
</head>
<body>
<center>
<form action="" method="POST">
Username : <input type="text" name="username"> <br><br>
Password : <input type="password" name="password"> <br><br>
<input type="submit" name="login" value="Login"> <br><br>
<?php echo $error; ?>
</form>
</center>
</body>
</html>
include('LoginWeb.php');
?>
<html>
<head>
</head>
<body>
<center>
<form action="" method="POST">
Username : <input type="text" name="username"> <br><br>
Password : <input type="password" name="password"> <br><br>
<input type="submit" name="login" value="Login"> <br><br>
<?php echo $error; ?>
</form>
</center>
</body>
</html>
0 comments: