Home Backend Development PHP Tutorial PHP4实际应用经验篇_PHP

PHP4实际应用经验篇_PHP

Jun 01, 2016 pm 12:29 PM
actual application experience form

作者:孙运动

  表单是一种给你的站点增加交互功能的最快,最容易的途径。表单允许你询问你的顾客是否喜欢你的产品,让不经意访问到你的站点的访问者留下评论,或者向漂亮的美眉们要她们的电话号码。PHP能大大简化基于网页表单提交的数据处理工作-如下面我们的第一个例子所示:


--------------------------------------------------------------------------------














请问你的名字是?




















--------------------------------------------------------------------------------
整个页面最值得注意的是那个 标签

--------------------------------------------------------------------------------


...


--------------------------------------------------------------------------------
  你可能已经知道了,标签的ACTION属性值明确指定了将处理表单里输入的信息的服务器端脚本名-在这里是"login.php",而 METHOD属性是说明信息将如何传送。

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

The role and practical application of arrow symbols in PHP The role and practical application of arrow symbols in PHP Mar 22, 2024 am 11:30 AM

The role and practical application of arrow symbols in PHP

How to Undo Delete from Home Screen in iPhone How to Undo Delete from Home Screen in iPhone Apr 17, 2024 pm 07:37 PM

How to Undo Delete from Home Screen in iPhone

From beginner to proficient: Explore various application scenarios of Linux tee command From beginner to proficient: Explore various application scenarios of Linux tee command Mar 20, 2024 am 10:00 AM

From beginner to proficient: Explore various application scenarios of Linux tee command

Tips for using Laravel form classes: ways to improve efficiency Tips for using Laravel form classes: ways to improve efficiency Mar 11, 2024 pm 12:51 PM

Tips for using Laravel form classes: ways to improve efficiency

Explore the advantages and application scenarios of Go language Explore the advantages and application scenarios of Go language Mar 27, 2024 pm 03:48 PM

Explore the advantages and application scenarios of Go language

The wide application of Linux in the field of cloud computing The wide application of Linux in the field of cloud computing Mar 20, 2024 pm 04:51 PM

The wide application of Linux in the field of cloud computing

Understand the mechanism and application of Golang stack management Understand the mechanism and application of Golang stack management Mar 13, 2024 am 11:21 AM

Understand the mechanism and application of Golang stack management

Understanding MySQL timestamps: functions, features and application scenarios Understanding MySQL timestamps: functions, features and application scenarios Mar 15, 2024 pm 04:36 PM

Understanding MySQL timestamps: functions, features and application scenarios

See all articles