Home > Backend Development > PHP Tutorial > 刁钻古怪了 俩个括号 不在一起 就不行

刁钻古怪了 俩个括号 不在一起 就不行

WBOY
Release: 2016-06-13 10:52:45
Original
1223 people have browsed it

稀奇古怪了 俩个括号 不在一起 就不行
//检查时候含有数据
public function initem($shopid){
if (array_key_exists($shopid,$this->item))
{
echo "Key exists! www.msheji.com";
}
else 
{
echo "Key does not exist! www.msheji.com";
}} //稀奇古怪了 俩个括号 不在一起 就不行;


------解决方案--------------------
什么意思?
不能
....
echo "Key does not exist! www.msheji.com";
}
}
???

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