Use of text boxes:
The input type includes text, password and other types, HTML5 added a lot of input types, if you want to learn this kind of knowledge can be a good understanding, because the finer points, the more convenient to use.
See the functionality of this example
After filling in the form submission:
Implementation code:
Copy the Code code as follows:
if (!isset ($_post[' submit '))
return;
if ($_post[' submit ']== ' submit ') {
$username = $_post[' username ');
$password = $_post[' password ');
}
Echo <<
| Administrator: $username |
| Password: $password |
EOT;
?>
Use the Isset () function to determine if $_post[' Submit ' is set
http://www.bkjia.com/PHPjc/324030.html www.bkjia.com true http://www.bkjia.com/PHPjc/324030.html techarticle form Name= The use of the "form" method= "POST" action= "login.php"/form text box: input type= "text" name= "username"/Where input type includes text, Password and other types, HTML5 added a lot of ...