Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Login Menggunakan PHP dengan Teknik OOP</title>
- </head>
- <body>
- <div class="container">
- <h2>Login Menggunakan PHP dengan Teknik OOP</h2>
- <div class="row">
- <div class="col-sm-4">
- <form class="well" method="POST" action=" ">
- <label>Username : </label><input class="form-control" type="text" name="username" required>
- <label>Password : </label><input class="form-control" type="password" name="password" required>
- <div> </div>
- <input class="btn btn-info" type="submit" name="loginz" value="LOGIN">
- </form>
- </div>
- </div>
- </body>
- </html>
- <?php
- class Login{
- public function __construct() {
- if(isset($_POST["loginz"])){
- }
- }
- public function loginxx()
- {
- echo "ga ngerti master";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement