how to make log in form help, using html/css..
try reading on w3schools.com for basic method.
Code:<form action="login.php" method="post"> username: <input type="text" name="username" /> password: <input type="password" name="password" /> <button>Login</button> </form>
kung mag login you need asp or php para naay kay back-end program running.. html or css can handle that alone..
recommend nako ang php kay dali rah...
try to make html file you can use the above posters code.. just remove the <button>Login</button> tag... and replace it with
and save it as index.htmlCode:<input type='submit' value='login' />
then try to make php file using this code
save it as login.phpCode:if($_POST['username'] == "username" && $_POST['password'] == 'password') { echo 'Success!!'; } else { echo 'Login failed'; }
note: "username" and "password" is a variables you may change it in any string you want..
if still confused.. try to check W3Schools Online Web Tutorials for more information..
Similar Threads |
|