Home > php教程 > php手册 > PHP4实际应用经验篇

PHP4实际应用经验篇

WBOY
Release: 2016-06-21 09:07:58
Original
1198 people have browsed it

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


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














请问你的名字是?




















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

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


...


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



Related labels:
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template