Home  >  Article  >  Backend Development  >  PHP implementation code to get the value in the text box

PHP implementation code to get the value in the text box

WBOY
WBOYOriginal
2016-07-25 08:56:262589browse
Copy code

Usage of text box:

Copy code

The input type includes text, password and other types. ​ After filling in the form and submitting it:

  1. Administrator:
    Password:
  2. if(!isset($_POST['submit']))
  3. return ;
  4. if($_POST['submit']=='submit'){
  5. $username = $_POST['username'];
  6. $password = $_POST['password'];
  7. }
  8. echo <<< ;EOT
  9. Management Member:$username
    Password: $password< /td>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn