Home  >  Article  >  Backend Development  >  PHP4 Practical Application Experience Part 1_PHP Tutorial

PHP4 Practical Application Experience Part 1_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:26:54725browse


Forms are the fastest and easiest way to add interactive functionality to your site. Forms allow you to ask your customers if they like your product, let casual visitors to your site leave a review, or ask pretty girls for their phone numbers. PHP can greatly simplify data processing based on web form submissions - as shown in our first example below:
----------------------- -------------------------------------------------- -------










What is your name?















------------------------ -------------------------------------------------- -----
The most noteworthy thing about the entire page is the tag
----------------------------- -------------------------------------------------- ---



...

----------------------- -------------------------------------------------- -------
As you may already know, the value of the ACTION attribute of the tag explicitly specifies the name of the server-side script that will process the information entered in the form - in this case "login.php", and The METHOD attribute describes how the information will be transmitted.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531940.htmlTechArticleForms are the fastest and easiest way to add interactive functionality to your site. Forms allow you to ask your customers if they like your product, allowing casual visitors to your site to...
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