日期:2014-05-17  浏览次数:20494 次

稀奇古怪了 俩个括号 不在一起 就不行
//检查时候含有数据
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";
}
}
???