Cara Membuat Login Dengan HTML

10 10 2011

Ini adalah contoh kecil untuk membuat Form Login .html :

ketik code dibawah ini,

<html>
<head>
<title>Login</title>
</head>
<body>
<h2>Login</h2>
<?php echo $pesan;
if ($logsukses==0)
{
?>
<form name="form1" method="post" action="login.php">
<tr>
<td>Username</td>
<td><input type="text" name="nama"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="text" name="password"></td>
</tr>
<tr>
<td><input name="proses" type="hidden" id="proses" value="yesss"></td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</form>
<?php
}
?>
</body>
</html>

save dengan format (.html) dan jalankan dengan browser.

About these ads

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

%d bloggers like this: