Home > Backend Development > PHP Tutorial > php新手求教,该如何处理

php新手求教,该如何处理

WBOY
Release: 2016-06-13 10:18:42
Original
813 people have browsed it

php新手求教
if(strcmp($_POST['cmd'],$bnlanglog_clear_all_capacity_log)==0)
这句话什么意思 ?
我知道$bnlanglog_clear_all_capacity_log是一个变量,strcmp($_POST['cmd']这个东西不懂

------解决方案--------------------
比较post过来的变量和$bnlanglog_clear_all_capacity_log变量
strcmp是二进制字符串比较函数
二者相等返回0

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