We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2aebf7 commit 3fd147bCopy full SHA for 3fd147b
php form.php
@@ -0,0 +1,34 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+ <title>Document</title>
5
+</head>
6
+<body>
7
+<form method="POST" action="">
8
+ <table>
9
+ <tr>
10
+ <td>Username:</td>
11
+ <td><input type="text" name="u_name">
12
+ </tr>
13
+<tr>
14
+ <td>Password:</td>
15
+ <td><input type="Password" name="u_pass"></td>
16
+</tr>
17
18
+ <td></td>
19
+ <td><input type="submit" name="u_login"></td>
20
21
+ </table>
22
+</form>
23
+<?php
24
+if (isset($_POST['u_login'])) {
25
+$u_name = $_POST['u_name'];
26
+$u_pass = md5($_POST['u_pass']);
27
+
28
+echo "$u_name";
29
+echo '<br/>';
30
+echo "$u_pass";
31
+}
32
+?>
33
+</body>
34
+</html>
0 commit comments