Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class login {
- function displayLogin(){
- echo "<form action='index.php' method='post'>";
- echo "<p><label>Username:</label><input type='text' name='username' /></p>";
- echo "<p><label>Password:</label><input type='password' name='password' /></p>";
- echo "<p><input type='submit' name='submit' value='Login' /></p>";
- echo "</form>";
- }
- }
- $loginForm = new login();
- ?>
Add Comment
Please, Sign In to add comment