Home > Backend Development > PHP Tutorial > PHP判断Form表单是不是提交

PHP判断Form表单是不是提交

WBOY
Release: 2016-06-13 13:26:01
Original
1098 people have browsed it

PHP判断Form表单是否提交

$action=$HTTP_POST_VARS["Button1"];  
if($action=="提交")  
{  
//执行表单操作  
}  
else  
{  
//读取默认值  
}
Copy after login
 

本篇文章来源于 永余PHP开源技术社区 | http://www.91php.com
原文链接:http://www.91php.com/html/PHP/200809/20-257.html
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template