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

PHP implementation code to get the value in the text box

WBOY
Release: 2016-07-25 08:56:26
Original
2611 people have browsed it
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>
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template